home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / progm / assemutl.zip / TEXT.DOC < prev    next >
Text File  |  1985-02-24  |  3KB  |  34 lines

  1.  
  2. /***********************************************************************/
  3. /*                                                                     */
  4. /*  TEXT.C  This filter alters the text within a file as specified in  */
  5. /*  the command line.  TEXT is invoked by:                             */
  6. /*                                                                     */
  7. /*            TEXT [conv1 [conv2] ... [convn]]                         */
  8. /*                                                                     */
  9. /*  where the text conversion instructions are optional.  Text is read */
  10. /*  from the standard input device, converted using the conversion     */
  11. /*  instructions and written to the standard output device.  The       */
  12. /*  conversion instructions are:                                       */
  13. /*                                                                     */
  14. /*       dwhite - delete all white space                               */
  15. /*       lwhite - delete all leading white space on each line          */
  16. /*       twhite - delete all trailing white space on each line         */
  17. /*       rwhite - reduce all white space to a single blank space       */
  18. /*       upcase - convert to upper case                                */
  19. /*       smcase - convert to lower case                                */
  20. /*       quote  - do not alter text within single or double quotes     */
  21. /*                                                                     */
  22. /*  Conversion instructions may be abbreviated to one or more charac-  */
  23. /*  ters, and may be in any mixture of upper and lower case.           */
  24. /*  Unidentified conversion instructions are ignored.  Finally, in-    */
  25. /*  structions are processed in the order listed above, except that    */
  26. /*  quote affects all other instructions.                              */
  27. /*                                                                     */
  28. /*  NOTE:  Under DOS 2.0, if redirection is used, the input file must  */
  29. /*         must be terminated with a Ctrl/Z ('\032') character; other- */
  30. /*         wise the system will hang.  Therefore, be very careful when */
  31. /*         constructing pipes to make sure that previous filters do    */
  32. /*         output a Ctrl/Z character.                                  */
  33. /*                                                                     */
  34.