home *** CD-ROM | disk | FTP | other *** search
-
- /***********************************************************************/
- /* */
- /* TEXT.C This filter alters the text within a file as specified in */
- /* the command line. TEXT is invoked by: */
- /* */
- /* TEXT [conv1 [conv2] ... [convn]] */
- /* */
- /* where the text conversion instructions are optional. Text is read */
- /* from the standard input device, converted using the conversion */
- /* instructions and written to the standard output device. The */
- /* conversion instructions are: */
- /* */
- /* dwhite - delete all white space */
- /* lwhite - delete all leading white space on each line */
- /* twhite - delete all trailing white space on each line */
- /* rwhite - reduce all white space to a single blank space */
- /* upcase - convert to upper case */
- /* smcase - convert to lower case */
- /* quote - do not alter text within single or double quotes */
- /* */
- /* Conversion instructions may be abbreviated to one or more charac- */
- /* ters, and may be in any mixture of upper and lower case. */
- /* Unidentified conversion instructions are ignored. Finally, in- */
- /* structions are processed in the order listed above, except that */
- /* quote affects all other instructions. */
- /* */
- /* NOTE: Under DOS 2.0, if redirection is used, the input file must */
- /* must be terminated with a Ctrl/Z ('\032') character; other- */
- /* wise the system will hang. Therefore, be very careful when */
- /* constructing pipes to make sure that previous filters do */
- /* output a Ctrl/Z character. */
- /* */
-