version 1.3, 1998/09/26 19:54:44 |
version 1.4, 1999/06/05 01:21:25 |
|
|
.Op Fl w Ar width |
.Op Fl w Ar width |
.Ar file Op Ar ... |
.Ar file Op Ar ... |
.Sh DESCRIPTION |
.Sh DESCRIPTION |
.Nm fold |
.Nm |
is a filter which folds the contents of the specified files, |
is a filter which folds the contents of the specified files, |
or the standard input if no files are specified, |
or the standard input if no files are specified, |
breaking the lines to have a maximum of 80 characters. |
breaking the lines to have a maximum of 80 characters. |
|
|
.It Fl s |
.It Fl s |
Fold line after the last blank character within the first |
Fold line after the last blank character within the first |
.Ar width |
.Ar width |
column positions (or bytes). |
column positions (or bytes). |
.It Fl w |
.It Fl w |
Specifies a line width to use instead of the default 80 characters. |
Specifies a line width to use instead of the default 80 characters. |
.El |
.El |
.Pp |
.Pp |
The |
The |
.Nm fold |
.Nm |
utility exits 0 on success or >0 if an error occurred. |
utility exits 0 on success or >0 if an error occurred. |
.Sh SEE ALSO |
.Sh SEE ALSO |
.Xr expand 1 |
.Xr expand 1 |
.Sh STANDARDS |
.Sh STANDARDS |
The |
The |
.Nm fold |
.Nm |
utility conforms to |
utility conforms to |
.St -p1003.2-92 . |
.St -p1003.2-92 . |
.Sh BUGS |
.Sh BUGS |
If underlining is present it may be messed up by folding. |
If underlining is present it may be messed up by folding. |