home *** CD-ROM | disk | FTP | other *** search
-
-
- 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.
-