home *** CD-ROM | disk | FTP | other *** search
/ Encyclopedia of Graphics File Formats Companion / GFF_CD.ISO / software / dos / crlf / readme.txt < prev   
Encoding:
Text File  |  1994-06-17  |  1.3 KB  |  41 lines

  1. CRLF translates between the various kinds of line breaks used by the
  2. Macintosh, DOS, and UNIX operating systems.  Macintosh uses a single
  3. carriage return to indicate the end of a line, DOS (Windows and OS/2)
  4. uses a carriage return and a line feed, and UNIX uses a single line feed.
  5.  
  6. Usage:
  7.  
  8.   CRLF [options] infile outfile
  9.  
  10. Where:
  11.  
  12.   infile is the name of the input file
  13.   outfile is the name of the outputfile (it will be overwritten if it exists)
  14.  
  15. Options can be:
  16.  
  17.     -d = output DOS line breaks
  18.     -m = output Mac line breaks
  19.     -u = output UNIX line breaks
  20.     -v = verify that input file is plain text
  21.     -q = suppress messages (quiet)
  22.     -h = display help
  23.  
  24. The -v option performs a quick check to verify that the input file appears
  25. to be a plain text file.  The input file is considered plain text if it
  26. contains only text, CR, LF, form feed, and Tab characters.  CRLF only
  27. examines the first 4096 bytes of the file when performing a verify.
  28.  
  29. If the verify operation fails, CRLF prints the message:
  30.  
  31.   CRLF: infile does not appear to be a text file (9999)
  32.  
  33. Where 9999 indicates where the invalid character occured (as an offset from
  34. the beginning of the file).
  35.  
  36. Files:
  37.  
  38.   CRLF.EXE the DOS executable
  39.   CRLF.PAS the Pascal source code for CRLF.EXE
  40.  
  41.