version 1.2, 1996/06/26 05:33:22 |
version 1.3, 1998/09/26 19:54:44 |
|
|
.Os |
.Os |
.Sh NAME |
.Sh NAME |
.Nm fold |
.Nm fold |
.Nd "fold long lines for finite width output device" |
.Nd fold long lines for finite width output device |
.Sh SYNOPSIS |
.Sh SYNOPSIS |
.Nm fold |
.Nm fold |
.Op Fl bs |
.Op Fl bs |
.Op Fl w Ar width |
.Op Fl w Ar width |
.Ar |
.Ar file Op Ar ... |
.Sh DESCRIPTION |
.Sh DESCRIPTION |
.Nm Fold |
.Nm fold |
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 maximum of 80 characters. |
breaking the lines to have a maximum of 80 characters. |
.Pp |
.Pp |
The options are as follows: |
The options are as follows: |
.Bl -tag -width indent |
.Bl -tag -width indent |
|
|
.Pp |
.Pp |
The |
The |
.Nm fold |
.Nm fold |
utility exits 0 on success, and >0 if an error occurs. |
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 |
|
|
.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. |
.Pp |
.Pp |
.Ar Width |
.Ar width |
should be a multiple of 8 if tabs are present, or the tabs should |
should be a multiple of 8 if tabs are present, or the tabs should |
be expanded using |
be expanded using |
.Xr expand 1 |
.Xr expand 1 |