AddCR and StripCR ~~~~~~~~~~~~~~~~~ Version 1.0 06 Sep 92 ~~~~~~~~~~~~~~~~~~~~~ ©1992 Ray Markham P.O. Box 1590 Port Macquarie, NSW 2444 Australia Phone (065)83 7517  ( 31 )|( 31 )|( 31 )|( 31 )|( 31 )|( 31 )|( 31 )|( 31 )|( 31 )|( 31 ) StripCR Version 1.0 is shareware. If you find it useful please send me what you think it is worth, and realistically if you are using the program it IS worth something to you. So, do the right thing and support shareware authors. All software and associated material are copyright ©1992 by Ray Markham. All rights reserved. The StripCR program 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. StripCR v1.0 was written in 'C' using SAS/C v5.10a. SYNOPSIS ~~~~~~~~ While carrying out my role as sysop in the AMIGA 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. WHAT ADDCR DOES ~~~~~~~~~~~~~~~ AddCR reads in the AMIGA 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. WHAT STRIPCR DOES ~~~~~~~~~~~~~~~~~ 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. USING THE PROGRAMS ~~~~~~~~~~~~~~~~~~ AddCR ~~~~~ Format: AddCR [input file name] [output file name] Example: AddCR df1:AmigaText/bulletin1 df1:IBMText/b1.doc StripCR ~~~~~~~ Format: StripCR [input file name] [output file name] Example: StripCR df1:IBMText/b1.doc df1:AmigaText/bulletin1 History: ~~~~~~~~ 06 Sep 92 AddCR v1.0 and StripCR v1.0 first release.  ( 31 )|( 31 )|( 31 )|( 31 )|( 31 )|( 31 )|( 31 )|( 31 )|( 31 )|( 31 )