dos2unix

NAME

dos2unix - Windows command-line utility to convert text files with MS-DOS-specific end-of-line (EOL) characters to UNIX-specific EOL characters

SYNOPSIS

dos2unix {-h | [infile [outfile]]}

DESCRIPTION

The dos2unix(1w) Windows command-line utility converts files that use MS-DOS-specific end-of-line (EOL) characters to files that use UNIX-specific EOL characters. MS-DOS uses CR and LF as the EOL character; UNIX uses LF.

The dos2unix command accepts the following option and arguments:

-h
Displays usage information about the command.
infile
The MS-DOS file to be converted. If infile and outfile are not specified, the program takes input from standard input and sends it to standard output.
outfile
The UNIX output file. If outfile is not specified, the program sends output to standard output.

SEE ALSO

unix2dos(1w)