Dec 252017
Converts text files between format and format.
File CRLF.ZIP from The Programmer’s Corner in
Category Word Processors
Converts text files between format and format.
File Name File Size Zip Size Zip Type
CRLF.C 1347 636 deflated
CRLF.DOC 1006 557 deflated
CRLF.EXE 8573 5655 deflated

Download File CRLF.ZIP Here

Contents of the CRLF.DOC file

crlf - Convert text files between format and format.

crlf [-r -]

Crlf converts text file formats. MS-DOS uses a format that marks the end
of a line with two characters, . Unix uses a format with only
. Sometimes this difference can cause normally well-behaved programs
to fail. Use crlf to convert between these two formats.

-rReverse the type of conversion. Default is to convert to
format. The -r option causes the conversion to be
to format.
-The next argument is a file name. Useful when the file name
begins with a dash.

crlf unixfile >dosfile
crlf -r dosfile >unixfile
0: normal return
1: unknown option
2: bad number of arguments
3: file opening error

This program was written by Steve Creps. All rights are reserved, but the
source and executable may be freely copied for personal use.

 December 25, 2017  Add comments

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>