1 DETAB
 Remove tabs from a text file.
 Usage:
	$ DETAB  infile  outfile

 Definitions:

	$ DETAB :== $FERMI$EXE:DETAB

 Copies input to output, replacing sequences of tabs by a string of
 blanks presupposing tab stops every 8 columns.  Trailing blanks are
 also always removed.
1 ENTAB
 Replace sequences of blanks by tabs in a text file.
 Usage:
	$ ENTAB  [-t]  infile  outfile

 Definitions:

	$ ENTAB :== $FERMI$EXE:ENTAB

 Copies input to output, replacing sequences of blanks by a string of
 the minimum number of blanks and tabs required to give the same
 visual appearance to the file.  Trailing blanks and tabs are also
 always removed.

 If the "-t" is used on the command line, a single blank will be output
 as <TAB> if at a valid tab stop otherwise the single blank will remain
 as such.

 Tab stops are considered to occur only every 8 columns.
1 FORTDETAB
 Replace tabs by blanks in Fortran source files.  Format of command:

	$ FORTDETAB  [-options]  infile  outfile

 where the FORTDETAB command is defined by:

	$ FORTDETAB :== $FERMI$EXE:FORTDETAB

2 Options
 Options are indicated by single letter flags following a "-",
 as in the example "fortdetab -x f.ftn f.ftn".  The recognized
 options are:

   -r   statement labels are right-justified in the label field.
        Normally the label numbers are left-justified to start
        in column 1.  This is only effective on lines in which the
        label begins in column 1.

   -x   exclude any possible sequence numbers in columns 73-80
        of the input.  If "-x" is given, each input line first
        has characters beyond column 72 removed.

2 Parameters
 infile
    Input FORTRAN source file.  May contain tabs according to the
    rules of PDP-11 FORTRAN-77 and VAX-11 FORTRAN.

 outfile
    Output FORTRAN source file with all tabs replaced by spaces
    as described in the "Tab_Rules" subtopic.  All trailing blanks
    and tabs are removed in the output file.

2 Tab_Rules
 Tab stops are presupposed every 8 columns for FORTRAN source
 except for the following special cases (<t> is a tab character
 and "..." indicates the remainder of the input line):

 Comment line:  <c>...         (<c> is one of "C","c","D","d","!")
    The normal tab replacement rules (tab stops every 8 columns)
    are followed.

 Statement line:      <tab><x>...    (<x> is any character)
    The tab is replaced by 6 spaces to start the remainder of
    the statement in column 7 (except if the next character is
    another tab, then the first tab stop is considered to be
    column 17 rather than column 9).  Remainder of line follows
    the normal tab replacement rules.

 Continuation line:   <tab><d>...    (<d> is a single digit, 1-9)
    The tab is replaced by 5 spaces to place the continuation
    character in column 6.  The remainder of the line is treated
    as a statement line.

 Labelled line:  <nn><t><x>...     (<nn> is 1-5 digit number)
    The tab is replaced by sufficient spaces to start the rest
    of the line in column 7.  Otherwise same as for a normal
    statement line.

1 FORTENTAB
 Replace multiple blanks by combinations of the blanks and tabs
 in Fortran source files.  Format of command:

	$ FORTENTAB  [-options]  infile  outfile

 where the FORTENTAB command is defined by:

	$ FORTENTAB :== $FERMI$EXE:FORTENTAB

 Warning: FORTENTAB will not properly handle tabs in the input
 file.  If the input file is mixed (some tabbed, some spaced
 FORTRAN source), then first use FORTDETAB to remove all the
 tabs and then use FORTENTAB on the output from FORTDETAB.

 FORTENTAB handles text literals by not replacing multiple spaces
 by tabs within quoted text strings ('...') in FORTRAN statements.

2 Options
 Options are indicated by single letter flags following a "-",
 as in the example "fortentab -x f.ftn f.ftn".  The recognized
 options are:

   -t   a single blank will be output as a tab if valid.  The
        normal action is to output a single blank in cases such
        as the string "1234567 8".  With "-t", the space after
        the "7" would become a tab.

   -x   exclude any possible sequence numbers in columns 73-80
        of the input.  If "-x" is given, each input line first
        has characters beyond column 72 removed.

2 Parameters
 infile
    Input FORTRAN source file.  Assumed to not contain any tabs
    or FORTRAN syntax errors.

 outfile
    Output FORTRAN source file with tabs added accordin to the
    syntax rules of PDP-11 FORTRAN-77 and VAX-11 FORTRAN and as
    as described in the "Tab_Rules" subtopic.  All trailing blanks
    and tabs are removed in the output file.

2 Tab_Rules
 Tab stops are presupposed every 8 columns for FORTRAN source
 except for the following special cases:

 Statement line:
    The leading 6 spaces are replaced by a single tab.  The
    remainder of the line is treated according to the normal
    tab replacement rules (every 8 columns), except that the
    next tab stop is considered to be in column 17 (rather than
    in column 9).

 Labelled line:
    The label is left justified and followed by a tab.  Otherwise
    the line is handled like a normal statement line.

 Continuation line:
    The leading 5 spaces are replaced by a single tab.  The
    continuation character is replaced by a single digit (1-9)
    unless it is already a single digit.  The remainder of the
    line is treated similarly to a normal statement line after
    the first tab stop.
2 Literal_Text
 FORTENTAB attempts to solve the problem of test literals by disabling
 the replacement of multiple spaces by tabs within quoted text.  Quoted
 text is defined by pairs of single quote marks (which accounts for
 paired single quotes within the text).  Thus "nH" format text literals
 may be distorted by FORTENTAB and quoted text continued past the end
 of one line onto another will definitely confuse this program.  Thus
 the user should be a bit cautious and examine the output source to
 perform any necessary cleanups or additional editting.

 Note that quotes are ignored within comment lines (lines beginning with
 a comment character in column 1).

