|
|
HP-UX Reference > Ffmt(1)HP-UX 11i Version 2: December 2007 Update |
|
NAMEfmt — format text DESCRIPTIONThe fmt command is a simple text formatter that fills and joins lines to produce output lines of (up to) the number of characters specified in the -w width option. The default width is 72. fmt concatenates the file arguments. If none are given, fmt formats text from the standard input. Blank lines are preserved in the output, as is the spacing between words. fmt does not fill lines beginning with a period (.), for compatibility with nroff. Nor does it fill lines starting with From:. Indentation is preserved in the output and input lines with differing indentation are not joined (unless -c is used). fmt can also be used as an in-line text filter for vi; the vi command: !}fmt reformats the text between the cursor location and the end of the paragraph. Optionsfmt recognizes the following options:
|
|