4.3BSD-Reno/src/usr.bin/fold/fold.1

Compare this file to the similar file:
Show the results in this format:

.\" Copyright (c) 1980 The Regents of the University of California.
.\" All rights reserved.
.\"
.\" Redistribution and use in source and binary forms are permitted
.\" provided that the above copyright notice and this paragraph are
.\" duplicated in all such forms and that any documentation,
.\" advertising materials, and other materials related to such
.\" distribution and use acknowledge that the software was developed
.\" by the University of California, Berkeley.  The name of the
.\" University may not be used to endorse or promote products derived
.\" from this software without specific prior written permission.
.\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
.\" IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
.\"
.\"	@(#)fold.1	6.3 (Berkeley) 4/5/90
.\"
.UC 7
.TH FOLD 1 "April 5, 1990"
.UC
.SH NAME
fold \- fold long lines for finite width output device
.SH SYNOPSIS
.ft B
fold [ \-w width ] [ file ... ]
.ft R
.SH DESCRIPTION
.I Fold
is a filter which will fold the contents of the specified files,
or the standard input if no files are specified,
breaking the lines to have maximum of 80 characters.
.PP
The options are as follows:
.TP
\-w
Specifies a line width to use instead of the default 80 characters.
.I Width
should be a multiple of 8 if tabs are present, or the tabs should
be expanded using
.IR expand (1)
before using
.IR fold .
.SH SEE\ ALSO
expand(1)
.SH BUGS
If underlining is present it may be messed up by folding.