Simple text formatter.

Installation

fmt can be installed with the Pakfire WebGUI or via the console:

pakfire install fmt

Usage

There is currently no web interface for this Addon. Open the client console or terminal to run the fmt command.

To obtain a list of possible commands, options, and arguments:

fmt --help

The output is similar to this:

[root@ipfire ~] # fmt --help
Usage: fmt [-WIDTH] [OPTION]... [FILE]...
Reformat each paragraph in the FILE(s), writing to standard output.
The option -WIDTH is an abbreviated form of --width=DIGITS.

With no FILE, or when FILE is -, read standard input.

Mandatory arguments to long options are mandatory for short options too.
  -c, --crown-margin        preserve indentation of first two lines
  -p, --prefix=STRING       reformat only lines beginning with STRING,
. . .