fmt

QNX SDP8.0Utilities ReferenceUtilities

Format concatenated input (POSIX, toybox)

Syntax:

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

Runs on:

QNX OS

Options:

-w width
Maximum width of characters per line. The default width is 75 characters.
file
The pathname of the file(s) to format.

Description:

The fmt utility reformats the input to wordwrap at a given line length, preserves the existing indentation level, and sends the results to standard output.

This utility is provided as part of the toybox package. For information on how to enable it, see toybox.

Contributing author:

Rob Landley and the toybox project (see https://landley.net/toybox/).

Page updated: