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.