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