Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ fmt — Apollo

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

FMT COMMANDS

6.0; fmt (format_text), revision 6.0, 83/04/15
FMT (FORMAT_TEXT) -- Format a text file.
usage:  FMT [-F n] [-T n] [-S] [-PO n] [-LF] [-OUT pathname] [pathname ...]


FORMAT

  FMT [options] [pathname ...]


  FMT is a general purpose text formatting program, allowing you to arrange
  output text according to formatting directives embedded in the input file
  or typed on standard input.

  By default, formatted text is written to standard output.  You may redirect
  it to a file with the -OUT option.


ARGUMENT

  pathname
  (optional)       Specify input file to be formatted.  Multiple pathnames and
                   wildcarding are permitted; however, FMT will concatenate
                   multiple files prior to formatting.  If FMT cannot find one
                   of the specified input files, control shifts to standard
                   input.  Default if omitted: read standard input.


OPTIONS

  -F n             Begin output at the first page numbered n.

  -T n             Terminate output at the first page numbered higher than n.

  -S               Stop before printing each page, including the first.  This
                   option is useful for paper manipulation.  The prompt "Type
                   return to begin a page" is issued only once, before the
                   first page.

  -PO n            Page Offset. Shift the entire document n spaces to the right.

  -LF              List names of files as they are processed.

  -OUT pathname    Specify output file.  If this option is omitted, formatted
                   text is written to standard output.

EXAMPLE

  $ fmt mary -out mary.formatted -po 9    Format "mary" with a page offset of 9
  $                                        spaces, and write the results to
                                           "mary.formatted".

RELATED TOPICS

  More information is available.  Type:

    - HELP FMT COMMANDS
      for a summary of FMT formatting directives.

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026