
fmt | 161
Linux
Commands
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
-7 Generate a 7-bit scanner.
-8 Generate an 8-bit scanner (default).
-+ Generate a C++ scanner class.
-C Compress scanner tables but do not use equivalence classes.
-Ca
Align tables for memory access and computation. This creates
larger tables but gives faster performance.
-Ce
Construct equivalence classes. This creates smaller tables and
sacrifices little performance (default).
-Cf
Generate full scanner tables, not compressed.
-CF
Generate faster scanner tables, like -F.
-Cm
Construct metaequivalence classes (default).
-Cr
Bypass use of the standard I/O library; use read( ) system calls
instead.
fmt
fmt [options] [files]
Convert text to specified width by filling lines and removing
newlines. Concatenate files on the command line, or read text from
standard input if - (or no file) is specified. By default, preserve
blank lines, spacing, and indentation. fmt attempts to break lines at
the end of sentences and to avoid breaking lines after a sentence’s
first word or before its last.
Options
-c, --crown-margin
Crown margin mode. Do not change indentation of each para-
graph’s first two lines. Use the second line’s indentation as the
default for subsequent lines.
-p prefix, --prefix=prefix
Format only lines beginning with prefix.
-s, --split-only
Suppress line-joining.
-t, --tagged-paragraph ...