[ Program Manual | User's Guide | Data Files | Databases ]
CompressText removes any or all of the following from files: A) trailing space; B) blank lines; C) extra space between words; D) all space; or E) leading space.
CompressText reduces the white space in text files. It can remove trailing white space or leading white space, delete blank lines, and compress words together so that there is never more than one space between words. It can also remove all non-printing characters from your file. You can select any or all of these possibilities!
Here is a session using CompressText to remove trailing white space and delete the blank lines from a GenBank distribution file:
% compresstext
COMPRESSTEXT what file ? genbank.form
How should "genbank.form" be compressed
A) remove trailing white space from each line
B) delete the blank lines
C) compress all word separations to a single space
D) remove ALL space from the file
E) remove leading white space from each line
Choose the desired compressions (* AB *):
What should I call the output file (* genbank.form *) genbank.txt
%
Replace, CompressText, OneCase, ShiftOver, DeTab, ChopUp, LPrint, and ListFile are the GCG file utilities programs.
Unknown.
All parameters for this program may be put on the command line. Use the parameter -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 parameter names are the letters that you must type in order to use the parameter. Square brackets ([ and ]) enclose parameter values that are optional. For more information, see "Using Program Parameters" in Chapter 3, Using Programs in the User's Guide.
Minimal Syntax: % compresstext [-INfile=]genbank.form -Default
Prompted Parameters:
-MENu=ab the kind of compressions you want:
a trailing white space from each line
b blank lines
c all word separations to one space
d ALL space from each line
e leading white space from each line
(You can choose more than one!)
[-OUTfile=]genbank.form the output file name
Local Data Files: None
Optional Parameters: None
None.
None.
[ Program Manual | User's Guide | Data Files | Databases ]
Documentation Comments: doc-comments@gcg.com
Technical Support: help@gcg.com
Copyright (c) 1982, 1983, 1985, 1986, 1987, 1989, 1991, 1994, 1995, 1996 Gentics Computer Group, Inc. All rights reserved.
Licenses and Trademarks Wisconsin Package is a trademark of Genetics Computer Group, Inc. GCG and the GCG logo are registered trademarks of Genetics Computer Group, Inc.
All other product names mentioned in this documentation may be trademarks, and if so, are trademarks or registered trademarks of their respective holders and are used in this documentation for identification purposes only.