.\" 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.2 (Berkeley) 08/17/89 .\" .UC 7 .TH FOLD 1 "" .UC .SH NAME fold \- fold long lines for finite width output device .SH SYNOPSIS .B fold [ \-width ] [ file ... ] .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 width .I width. The default for .I width is 80. .I Width should be a multiple of 8 if tabs are present, or the tabs should be expanded using .IR expand (1) before coming to .I fold. .SH SEE\ ALSO expand(1) .SH BUGS If underlining is present it may be messed up by folding.