Go back to top



NoReturn removes trailing carriage return or line feed control characters from text files.


NoReturn removes trailing control characters from files which can be left there 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.

There is a restriction that the input file must be readable by the program.


This program was written by Peter Rice (E-mail: 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 (


Here is a sample session with NoReturn

  % noreturn
   NORETURN of what file(s) ?  prosite.*
   Remove from end-of-line all
   characters (* B *) ?


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.)


The output from NoReturn looks the same as the input file, but will be a little smaller.


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: % noreturn [-INfile1=]*.Dat -Default
  Prompted Parameters:
  -MENu=b    sets control characters to be removed
          l = line feed
          c = carriage return
          b = both
  Local Data Files:    None
  Optional Parameters:
  -EXTension=.txt      sets the output file name extension
  -Directory=MyWork:   directs output to another directory
  -NOMONitor           suppresses all screen output




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.


lets you select a different file name extension from the input file's original name extension.


appends a directory specification to each output file instead of writing all of the output files into the current default directory.


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:54 (1162)