[Previous] [Contents] [Index] [Next]

fmt

Format concatenated input

Syntax:

fmt [-w width] [-m maximum] [-] [file...]

Options:

-m maximum
The maximum line length. The default is 75 characters.
-w width
Make the lines as close to width as possible. The default width is 65 characters.
-
Read from standard input
file...
The file or files to be formatted.

Description:

The fmt utility concatenates the input files, formats the output as specified by the width and maximum options, and sends the results to standard output. Non-indenting tabs are converted to spaces; tabs are used for indentation where possible. If no input files are given, fmt reads from standard input.


[Previous] [Contents] [Index] [Next]