[ 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 Wisconsin Package file utilities programs.
Unknown.
All parameters for this program may be added to the command line. Use -CHEck to view the summary below and to specify parameters 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 selects the type of compressions you want: (choose one or more) 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 [-OUTfile=]genbank.form names the output file Local Data Files: None Optional Parameters: None
None.
You can set the parameters listed below from the command line. For more information, see "Using Program Parameters" in Chapter 3, Using Programs in the User's Guide.
specifies the type of compression and suppresses the option menu.
[ 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, 1997, 1998 Genetics Computer Group Inc., a wholly owned subsidiary of Oxford Molecular 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.