MPE/iX Shell and Utilities Reference Manual, Vol 1

fmt(1) MPE/iX Shell and Utilities fmt(1)
–n ignores indent and inter-word space of input lines and squeezes multiple spaces into
one. Normally, fmt preserves indentation and inter-word spacing of input lines on
output.
–p n sets the output page offset to n characters (default 0). fmt adds this offset to the pre-
vailing line indent.
–s does not join short lines to form longer lines. This prevents sample lines of code and
other such formatted text from being unduly combined.
–w n is identical to the –l n option.
DIAGNOSTICS
Possible exit status values are:
0 Successful completion.
1 An error occurred.
Messages
Message: file "filename": system error
Cause: See syserror(3).
Action: See syserror(3).
Message: length "number" is invalid
Cause: You specified a line length that was less than zero or greater than the maximum
length that
MPE/iX Shell and Utilities supports (as given by the configuration
variable LINE_MAX.
Action: Use a line length in the range zero to LINE_MAX.
Message: Missing line length.
Cause: You specified the –l option but did not provide a line length as an argument.
Action: Provide the missing line length.
Message: Missing offset.
Cause: You specified the –p option but did not provide an output page offset as an
argument.
Action: Provide the missing output page offset.
Message: Unknown option "–option"
Cause: You specified an option that is not valid for fmt.
Action: Check the DESCRIPTION section of this man page for a list of valid fmt
options.
Commands and Utilities 1-239