Manual Reference Pages - DOS2UNIX (1)
- convert ASCII files from DOSs CR/LF to UNIXs LF
When called without parameters, the
utility reads from the standard input,
transforming CR/LF pairs into an
LF character and writing it to the standard output.
If theres at least one filename specified, the
operands are processed in command line order, reading from the
files specified and overwriting them with the converted version.
option is given, both the access and modification time of the
original file are preserved.
Its important to note that the
utility is the same program as the
utility. It simply checks its name to see what operation is expected.
If you change the name of the binary,
will default to converting files from UNIX to DOS.
utility exits 0 on success, and 1 if there was an error processing
any of the files. Note however that execution of the program does
not stop if one of the files has a problem. The offending file is
simply skipped and processing of the remaining files continues.
All complains, or even better, suggestions should be addressed to the author
Oscar Bonilla <firstname.lastname@example.org>
Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.