
                            EOLine v1.0
                            ===========

Distribution
============

"EOLine" is Copywrite (c) 1992, Bill J.  Phillips, and is not intended
for commercial use.  It is placed in the public domain as of September
1992 and may be freely distributed.


Description
===========

"EOLine" will take a text file as input and output a new file with the
end-of-line character(s) changed to any one of the following:

 1.    L   (line-feed) only

 2.   CR   (carrige-return) only

 3.  CR&LF (carrige-return and line-feed)

You do not need to know the end-of-line format of the input text file.
"EOLine"  will  detect any of the three possible end-of-line character
formats and change it to which ever one you need in the output file.

To use "EOLine" just open a CLI window and supply three parameters:
input_file_name, output_file_name, and a switch.  The switches are

  L  for line-feed (ASCII 10)          * switches may be
                                         upper or lower case
  R  for carg-return (ASCII 13)

  B  for both (ASCII 13 & 10)


Usage
=====

eoline <input> <output> <l/r/b>

 input - any standard file name
output - any standard file name
     l - change EOL to   LF   -Ami format
     r - change EOL to   CR   -Mac format
     b - change EOL to  CR&LF -DOS format

Typing just eoline at the CLI will produce the above template.

Example:
-------
eoline HD0:mytext.doc RAM:newtext.doc l

 The above command line will change the end-of-line characters in 
 "mytext.doc" to LF only in the output file "newtext.doc".

eoline RAM:newtext.doc HD0:mytext.doc b

 The above command line will change the end-of-line characters in 
 "newtext.doc" to CR&LF in the output file "mytext.doc".


Logic?
=====

This program was written with SAS/C 5.1.  The program logic would have
been  much simpler if I had required another parameter designating the
end-of-line  format  for  the  input file.  I decided to make it a bit
more  of  a  challenge  and also more convenient for the user.  If you
find  this  program convenient or useful feel free to send me a couple
of bucks or a note.  However, nothing is required.


    Jay Phillips                 Genie: B.Phillips13
    9305 N. Oakleaf Ave
    Tampa, FL 33612             USENET: tbag!jayson@tscs.com
