only executable by group dialer
[unix-history] / usr / src / usr.bin / fmt / fmt.1
index c3c06f2..2288804 100644 (file)
@@ -1,8 +1,19 @@
-.\" Copyright (c) 1980 Regents of the University of California.
-.\" All rights reserved.  The Berkeley software License Agreement
-.\" specifies the terms and conditions for redistribution.
+.\" Copyright (c) 1980 The Regents of the University of California.
+.\" All rights reserved.
 .\"
 .\"
-.\"    @(#)fmt.1       6.1 (Berkeley) %G%
+.\" Redistribution and use in source and binary forms are permitted
+.\" provided that the above copyright notice and this paragraph are
+.\" duplicated in all such forms and that any documentation,
+.\" advertising materials, and other materials related to such
+.\" distribution and use acknowledge that the software was developed
+.\" by the University of California, Berkeley.  The name of the
+.\" University may not be used to endorse or promote products derived
+.\" from this software without specific prior written permission.
+.\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+.\" IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+.\"
+.\"    @(#)fmt.1       6.3 (Berkeley) %G%
 .\"
 .TH FMT 1 ""
 .UC
 .\"
 .TH FMT 1 ""
 .UC
 fmt \- simple text formatter
 .SH SYNOPSIS
 .B fmt
 fmt \- simple text formatter
 .SH SYNOPSIS
 .B fmt
+[ goal [ maximum ] ]
 [
 name ...
 ]
 .SH DESCRIPTION
 .I Fmt
 is a simple text formatter which reads the concatenation of input
 [
 name ...
 ]
 .SH DESCRIPTION
 .I Fmt
 is a simple text formatter which reads the concatenation of input
-files (or standard input if none are given) and produces on
-standard output a version of its input with lines as close to
-72 characters long as possible.  The spacing at the beginning
-of the input lines is preserved in the output, as are blank lines
-and interword spacing.
+files (or standard input if none are given) and produces on standard
+output a version of its input with lines as close to the goal length
+as possible 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.
 .PP
 .I Fmt
 is meant to format mail messages prior to sending, but may also be useful
 .PP
 .I Fmt
 is meant to format mail messages prior to sending, but may also be useful
@@ -40,6 +53,8 @@ evening the lines.
 nroff(1), mail(1)
 .SH AUTHOR
 Kurt Shoens
 nroff(1), mail(1)
 .SH AUTHOR
 Kurt Shoens
+.br
+Liz Allen (added goal length concept)
 .SH BUGS
 The program was designed to be simple and fast \- for more complex
 operations, the standard text processors are likely to be more appropriate.
 .SH BUGS
 The program was designed to be simple and fast \- for more complex
 operations, the standard text processors are likely to be more appropriate.