Commit | Line | Data |
---|---|---|
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 | .\" |
2791ff57 | 6 | .\" @(#)fold.1 6.4 (Berkeley) %G% |
a5e1fc21 KB |
7 | .\" |
8 | .UC 7 | |
95e4d5b4 | 9 | .TH FOLD 1 "" |
4a81a0d7 KM |
10 | .UC |
11 | .SH NAME | |
12 | fold \- fold long lines for finite width output device | |
13 | .SH SYNOPSIS | |
c3eaf944 KB |
14 | .ft B |
15 | fold [ \-w width ] [ file ... ] | |
16 | .ft R | |
4a81a0d7 KM |
17 | .SH DESCRIPTION |
18 | .I Fold | |
19 | is a filter which will fold the contents of the specified files, | |
20 | or the standard input if no files are specified, | |
c3eaf944 KB |
21 | breaking the lines to have maximum of 80 characters. |
22 | .PP | |
23 | The options are as follows: | |
24 | .TP | |
25 | \-w | |
26 | Specifies a line width to use instead of the default 80 characters. | |
4a81a0d7 KM |
27 | .I Width |
28 | should be a multiple of 8 if tabs are present, or the tabs should | |
29 | be expanded using | |
30 | .IR expand (1) | |
c3eaf944 KB |
31 | before using |
32 | .IR fold . | |
4a81a0d7 KM |
33 | .SH SEE\ ALSO |
34 | expand(1) | |
35 | .SH BUGS | |
36 | If underlining is present it may be messed up by folding. |