
                            [1mAddCR and StripCR[0m
                            ~~~~~~~~~~~~~~~~~
                          [1mVersion 1.1 05 Feb 93[0m
                          ~~~~~~~~~~~~~~~~~~~~~

                          ©1992 Ray Markham
                          P.O. Box 1590
                          Port Macquarie, NSW
                          2444
                          Australia

                          Phone (065)83 7517


[32m    || 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||
[0m

   StripCR Version 1.1 and AddCR version 1.1 are shareware. If you find
   them useful please send me what you think they are worth, and
   realistically if you are using the programs they ARE worth something to
   you. So, do the right thing and support shareware authors.

   All software and associated material are copyright ©1992/93 by
   Ray Markham. All rights reserved.

   The AddCR and StripCR programs and associated documentation and be
   freely distributed provided no changes or additions to the material is
   made, and the documentation and icons accompany the program.

   AddCR v1.1 and StripCR v1.1 were written in 'C' using SAS/C v6.0.
   MS-DOS versions were compiled using PCC Public Domain 'C' compiler
   on an AMIGA using 'The Transformer' software MS-DOS emulator (now just
   try to do that the other way around).


   [1mSYNOPSIS[0m
   ~~~~~~~~
   While carrying out my role as sysop in the [3mAMIGA[0m forum of the local
   bulletin board, it was necessary for me to work on text files for the
   BBS.  As I didn't want to spend all my time away (the BBS lives in a
   computer shop) I needed to do some of the work at home.

   Unfortunately, the system was running on a 286 clone and the text
   files were in MS-DOS format with LINEFEED (0A) and CARRIAGE RETURN (0D)
   characters as line terminators where the AMIGA uses only a LINEFEED (0A)
   character. The result of this was that I got a reversed 'M' character
   displayed at the end of each line. This I could live with. What the BBS
   couldn't, was it refused to recognise the LINEFEED character alone as a
   valid line terminator. This caused all the characters to run together as
   a single line and the programs refused to deal with my text.

   The fix was to write two programs StripCR and AddCR.


   [1mWHAT ADDCR DOES[0m
   ~~~~~~~~~~~~~~~
   AddCR reads in the [3mAMIGA[0m text file and adds a CARRIAGE RETURN (0D)
   character to each LINEFEED (0A) character that it finds, thus making
   the file perform properly with MS-DOS.


   [1mWHAT STRIPCR DOES[0m
   ~~~~~~~~~~~~~~~~~
   StripCR reads the input file, (the one from the IBM) and writes a file
   with only LINEFEED (0A) characters as line terminators. Now you can
   read and write to the file with AMIGA text editors and viewers without
   having the inconvenience of odd characters displayed at the end of each
   line.


   [1mUSING THE PROGRAMS[0m
   ~~~~~~~~~~~~~~~~~~

   [1mAddCR[0m
   ~~~~~
   Format:     [3mAddCR [input file name] [output file name][0m

   Example:    AddCR df1:AmigaText/bulletin1 df1:IBMText/b1.doc


   [1mStripCR[0m
   ~~~~~~~
   Format:     [3mStripCR [input file name] [output file name][0m

   Example:    StripCR df1:IBMText/b1.doc df1:AmigaText/bulletin1


   [1mHistory:[0m
   ~~~~~~~~
   06 Sep 92   AddCR v1.0 and StripCR v1.0 first release.
   05 Feb 93   AddCR v1.1 and StripCR v1.1 released.
               Trimmed up the code and recompiled with SAS/C v6.0. This
               resulted in a saving of 1512 bytes for AddCR and 1440 bytes
               for StripCR.

         ---===*** END OF ADDCR AND STRIPCR DOCS 05 FEB 93 ***===---


[32m   || 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||| 33 ||
[0m

