Dos2unix

dos2unix

Arguments

  • $1 (string): Optional: one or more file paths to convert in place

Exit codes

  • 0: Success
  • 1: Unsupported option flag, or one or more files could not be written

Output on stdout

  • Converted content (when reading from stdin with no args)