home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 December
/
simtel1292_SIMTEL_1292_Walnut_Creek.iso
/
msdos
/
txtutl
/
crlf.arc
/
CRLF.DOC
< prev
next >
Wrap
Text File
|
1988-05-12
|
1KB
|
36 lines
NAME
crlf - Convert text files between <CR><LF> format and <LF> format.
SYNOPSIS
crlf [-r -]
DESCRIPTION
Crlf converts text file formats. MS-DOS uses a format that marks the end
of a line with two characters, <CR><LF>. Unix uses a format with only
<LF>. Sometimes this difference can cause normally well-behaved programs
to fail. Use crlf to convert between these two formats.
Options:
-r Reverse the type of conversion. Default is to convert to
<CR><LF> format. The -r option causes the conversion to be
to <LF> format.
- The next argument is a file name. Useful when the file name
begins with a dash.
EXAMPLES
crlf unixfile >dosfile
crlf -r dosfile >unixfile
crlf <unixfile
RETURN VALUE
0: normal return
1: unknown option
2: bad number of arguments
3: file opening error
NOTES
This program was written by Steve Creps. All rights are reserved, but the
source and executable may be freely copied for personal use.