trailing comment after #else or #endif
[unix-history] / usr / src / usr.bin / fold / fold.1
CommitLineData
a5e1fc21
KB
1.\" Copyright (c) 1980 The Regents of the University of California.
2.\" All rights reserved.
4a81a0d7 3.\"
2791ff57 4.\" %sccs.include.redist.roff%
4a81a0d7 5.\"
05e12ae3 6.\" @(#)fold.1 6.5 (Berkeley) %G%
a5e1fc21 7.\"
05e12ae3
CL
8.Dd
9.Dt FOLD 1
10.Os
11.Sh NAME
12.Nm fold
13.Nd "fold long lines for finite width output device"
14.Sh SYNOPSIS
15.Nm fold
16.Op Fl w Ar width
17.Ar
18.Sh DESCRIPTION
19.Nm Fold
20is a filter which folds the contents of the specified files,
4a81a0d7 21or the standard input if no files are specified,
c3eaf944 22breaking the lines to have maximum of 80 characters.
05e12ae3 23.Pp
c3eaf944 24The options are as follows:
05e12ae3
CL
25.Bl -tag -width indent
26.It Fl w
c3eaf944 27Specifies a line width to use instead of the default 80 characters.
05e12ae3 28.Ar Width
4a81a0d7
KM
29should be a multiple of 8 if tabs are present, or the tabs should
30be expanded using
05e12ae3 31.Xr expand 1
c3eaf944 32before using
05e12ae3
CL
33.Nm fold .
34.El
35.Sh SEE ALSO
36.Xr expand 1
37.Sh BUGS
4a81a0d7 38If underlining is present it may be messed up by folding.