FUNCTION
CRtoLF converts carriage return characters to linefeed characters in text files.
DESCRIPTION
CRtoLF converts carriage returns to line feed characters in files, where they can be left by file transfer procedures.
It was specifically written for users transfering files from the EMBL CD-ROM on a PC to a VMS system. Failure to convert can cause strange problems with programs such as PrositeToGcg.
The problem has also been seen in files downloaded using gopher with the NetScape browser.
AUTHOR
This program was written by Peter Rice (E-mail: pmr@sanger.ac.uk Post: Informatics Division, The Sanger Centre, Hinxton Hall, Cambridge, CB10 1RQ, UK).
All EGCG programs are supported by the EGCG Support Team, who can be contacted by E-mail (egcg@embnet.org).
EXAMPLE
Here is a sample session with CRtoLF.
% crtolf
CRTOLF of what file(s) ? prosite.*
prosite.dat
prosite.doc
prosite.lis
%
RELATED PROGRAMS
Replace, CompressText, OneCase, ShiftOver, DeTab, ChopUp, Crypt, Count, FileCheck, LPrint, ListFile, and GetText are the GCG file support programs. (See the File Utilities chapter of the Program Manual for a description of these programs.)
OUTPUT
The output from CRtoLF may look the same as the input file, but will appear different in some editors and with some other progams.
COMMAND-LINE SUMMARY
All parameters for this program may be put on the command line. Use the option -CHEck to see the summary below and to have a chance to add things to the command line before the program executes. In the summary below, the capitalized letters in the qualifier names are the letters that you must type in order to use the parameter. Square brackets ([ and ]) enclose qualifiers or parameter values that are optional. For more information, see "Using Program Parameters" in Chapter 3, Basic Concepts: Using Programs in the GCG User's Guide.
Minimum Syntax: % crtolf [-INfile=]upload.dat -Default Prompted Parameters: None Local Data Files: None Optional Parameters: -EXTension=.fix New extension for the output files -DIRectory=fixed New directory for the output files
LOCAL DATA FILES
None.
OPTIONAL PARAMETERS
The parameters and switches listed below can be set from the command line. For more information, see "Using Program Parameters" in Chapter 3, Basic Concepts: Using Programs in the GCG User's Guide.
-EXTension=.txt
lets you select a different file name extension from the input file's original name extension.
-DIRectory=temp
appends a directory specification to each output file instead of writing all of the output files into the current default directory.
-MONitor
This program normally monitors its progress on your screen. However, when you use the -Default option to suppress all program interaction, you also suppress the monitor. You can turn it back on with this option. If your program is running in batch, the monitor will appear in the log file. If the monitor is slowing the program down, suppress it with -NOMONitor.
Printed: April 22, 1996 15:52 (1162)