1 TRIM
	TRIM FILE_SPEC

       Trim will process a file and do some or all of the following:
  remove lines from the beginning or end of a file, remove characters
  from each line, insert a prefix or suffix on each line.  A single
  file specification is given: the output file will have the same name
  and extension as the input file.

2 Examples

  DIRECTORY/COLUMN=1/NOSIZE/NODATE/NOTRAIL/OUT=DIRECTORY.LIS
  TRIM/FIRST=3/FINAL="." DIRECTORY.LIS

     The first command produces a directory listing with a header,
  and a complete file specification (with extension and version
  number).  The TRIM command removes the header (the first two lines
  of the file), and trims each line so that only the file name (no
  extension or version) remains.


  TRIM/PRE=(FIRST:"LIB/CRE library ", "LIB/INS library ") DIRECTORY.LIS

  Should insert the library create command on the first line, and
  library insertion commands on all subsequent lines.
2 /FIRST_LINE

       Specifies the first line in the input file to be included
  in the output file: lines preceding this are removed.  If not
  specified, the default value is 1 (start from the first line).
2 /LAST_LINE

     Specifies the last line to be included.  If not specified,
  all lines are included.
2 /STARTING_CHAR

       Specifies the first character on each line to be included
  in the output file.  If not specified, the line starts at the
  first character.  On lines where the character does not occur
  the line is probably trimmed to the same starting column for
  the line where the string last occurred.
2 /FINAL_CHAR

       Specifies the character on each line at which trimming is to
  begin (i.e., the character preceding the specified character will
  be the last character on the line to be included in the output
  file).  If not specified, the line ends at the last character.
2 /REMOVE

     Removes the specified character(s) from each line in the file
  where they occur.  On lines where the specified character(s) do
  not occur, it will probably remove the corresponding columns from
  the line where the characters last occurred.  More than one
  character may be specified in a list such as /REMOVE=("A","B","C")
2 /PREFIX

     If specified, the prefix is added to the beginning of each line. 
3 FIRST

     If specified in the list, places a different prefix on the first
  output line than on subsequent output lines.
2 /SUFFIX

     If specified, the suffix is appended to the end of each line.
2 /TRIM

     If specified, /TRIM will prevent blank lines from being included
  in the output file.  Without this qualifier, blank lines could occur
  if all characters are trimmed from a line.
2 /DELETE

     Action not yet determined when given as a qualifier.
2 /Disclaimer

  This help file was created by B. Z. Lederman in an attempt to
  document the TRIM program which is distributed with ALL-IN-1
  V2.0 (look in OA$LIB for TRIM.EXE and TRIM.CLD: if the files
  are missing complain to your local office or the Telephone
  Support Center).  No warranty of any kind is given as to the
  completeness or accuracy of the information contained herein.
  If you want a better description of TRIM, I suggest that you
  inform DEC that you would like them to document it properly.

