Commit | Line | Data |
---|---|---|
a5e1fc21 KB |
1 | .\" Copyright (c) 1980 The Regents of the University of California. |
2 | .\" All rights reserved. | |
4a81a0d7 | 3 | .\" |
a5e1fc21 KB |
4 | .\" Redistribution and use in source and binary forms are permitted |
5 | .\" provided that the above copyright notice and this paragraph are | |
6 | .\" duplicated in all such forms and that any documentation, | |
7 | .\" advertising materials, and other materials related to such | |
8 | .\" distribution and use acknowledge that the software was developed | |
9 | .\" by the University of California, Berkeley. The name of the | |
10 | .\" University may not be used to endorse or promote products derived | |
11 | .\" from this software without specific prior written permission. | |
12 | .\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR | |
13 | .\" IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED | |
14 | .\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | |
4a81a0d7 | 15 | .\" |
c3eaf944 | 16 | .\" @(#)fold.1 6.3 (Berkeley) %G% |
a5e1fc21 KB |
17 | .\" |
18 | .UC 7 | |
95e4d5b4 | 19 | .TH FOLD 1 "" |
4a81a0d7 KM |
20 | .UC |
21 | .SH NAME | |
22 | fold \- fold long lines for finite width output device | |
23 | .SH SYNOPSIS | |
c3eaf944 KB |
24 | .ft B |
25 | fold [ \-w width ] [ file ... ] | |
26 | .ft R | |
4a81a0d7 KM |
27 | .SH DESCRIPTION |
28 | .I Fold | |
29 | is a filter which will fold the contents of the specified files, | |
30 | or the standard input if no files are specified, | |
c3eaf944 KB |
31 | breaking the lines to have maximum of 80 characters. |
32 | .PP | |
33 | The options are as follows: | |
34 | .TP | |
35 | \-w | |
36 | Specifies a line width to use instead of the default 80 characters. | |
4a81a0d7 KM |
37 | .I Width |
38 | should be a multiple of 8 if tabs are present, or the tabs should | |
39 | be expanded using | |
40 | .IR expand (1) | |
c3eaf944 KB |
41 | before using |
42 | .IR fold . | |
4a81a0d7 KM |
43 | .SH SEE\ ALSO |
44 | expand(1) | |
45 | .SH BUGS | |
46 | If underlining is present it may be messed up by folding. |