EOL v1.20 - convert between NL and CR+NL

Revised 19-Aug-97. Copyright (c) 1996-97 by Rune Berg. TextTools Freeware.

Usage - Description - Options - Return codes


USAGE

eol [log logfile] [option] infile to outfile


DESCRIPTION

eol copies infile to outfile, replacing every NL (Newline) by CR+NL (Carriage-Return followed by Newline).

NL is end-of-line in Unix text files. CR+NL are end-of-line in MS-DOS and OS/2 text files.

eol is smart enough not to change CR+NL to CR+NL+NL (i.e. detects when the input already has DOS style end-of-lines).

If you don't specify logfile, eol writes error messages to standard error.


OPTIONS

eol recognizes the following command line options:


RETURN CODES

eol returns with one of the following codes ("error levels"):


End of document