remove BSD ifdefs
[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.\"
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.\"
a5e1fc21
KB
16.\" @(#)fold.1 6.2 (Berkeley) %G%
17.\"
18.UC 7
95e4d5b4 19.TH FOLD 1 ""
4a81a0d7
KM
20.UC
21.SH NAME
22fold \- fold long lines for finite width output device
23.SH SYNOPSIS
24.B fold
25[
26\-width
27] [
28file ...
29]
30.SH DESCRIPTION
31.I Fold
32is a filter which will fold the contents of the specified files,
33or the standard input if no files are specified,
34breaking the lines to have maximum width
35.I width.
36The default for
37.I width
38is 80.
39.I Width
40should be a multiple of 8 if tabs are present, or the tabs should
41be expanded using
42.IR expand (1)
43before coming to
44.I fold.
45.SH SEE\ ALSO
46expand(1)
47.SH BUGS
48If underlining is present it may be messed up by folding.