home *** CD-ROM | disk | FTP | other *** search
- CRLF translates between the various kinds of line breaks used by the
- Macintosh, DOS, and UNIX operating systems. Macintosh uses a single
- carriage return to indicate the end of a line, DOS (Windows and OS/2)
- uses a carriage return and a line feed, and UNIX uses a single line feed.
-
- Usage:
-
- CRLF [options] infile outfile
-
- Where:
-
- infile is the name of the input file
- outfile is the name of the outputfile (it will be overwritten if it exists)
-
- Options can be:
-
- -d = output DOS line breaks
- -m = output Mac line breaks
- -u = output UNIX line breaks
- -v = verify that input file is plain text
- -q = suppress messages (quiet)
- -h = display help
-
- The -v option performs a quick check to verify that the input file appears
- to be a plain text file. The input file is considered plain text if it
- contains only text, CR, LF, form feed, and Tab characters. CRLF only
- examines the first 4096 bytes of the file when performing a verify.
-
- If the verify operation fails, CRLF prints the message:
-
- CRLF: infile does not appear to be a text file (9999)
-
- Where 9999 indicates where the invalid character occured (as an offset from
- the beginning of the file).
-
- Files:
-
- CRLF.EXE the DOS executable
- CRLF.PAS the Pascal source code for CRLF.EXE
-
-