fmt man page on 4.4BSD

Printed from http://www.polarhome.com/service/man/?qf=fmt&af=0&tf=2&of=4.4BSD

FMT(1)			  BSD General Commands Manual			FMT(1)

NAME
     fmt — simple text formatter

SYNOPSIS
     fmt [goal [maximum]] [name ...]

DESCRIPTION
     Fmt is a simple text formatter which reads the concatenation of input
     files (or standard input if none are given) and produces on standard out‐
     put a version of its input with lines as close to the goal length as pos‐
     sible without exceeding the maximum.  The goal length defaults to 65 and
     the maximum to 75.	 The spacing at the beginning of the input lines is
     preserved in the output, as are blank lines and interword spacing.

     Fmt is meant to format mail messages prior to sending, but may also be
     useful for other simple tasks.  For instance, within visual mode of the
     ex(1) editor (e.g.	 vi(1)) the command

	   !}fmt

     will reformat a paragraph, evening the lines.

SEE ALSO
     nroff(1), mail(1)

HISTORY
     The fmt command appeared in 3BSD.

BUGS
     The program was designed to be simple and fast - for more complex opera‐
     tions, the standard text processors are likely to be more appropriate.

BSD				 June 6, 1993				   BSD
[top]

List of man pages available for 4.4BSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net