fold(1) ultrix man page | unix.com

Man Page: fold

Operating Environment: ultrix

Section: 1

fold(1) 						      General Commands Manual							   fold(1)

Name
       fold - fold long lines for finite width output device

Syntax
       fold [-b] [-s] [-w width or -width] [file...]

Description
       The  command is a filter which folds the contents of each specified file, or the standard input if no file is specified, breaking the lines
       to have maximum width width.

Options
       -b   Causes each `<backspace>' in a line to be interpreted as decrementing the line length by one.

       -s   Breaks the line on the last <blank> character found before the specified length. If none are found the line breaks	at  the  specified
	    length.

       -w width or -width
	    Specify  the  maximum  line width, in bytes. The default value is 80.  The width should be a multiple of 8 if tabs are present, or the
	    tabs should be expanded using before coming to

Restrictions
       The command may interfere with underlining.

Return Values
       The command returns zero (0) on successful completion.

See Also
       expand(1)

																	   fold(1)
Related Man Pages
fold(1) - redhat
fold(1) - debian
fold(1p) - centos
fold(1p) - suse
fold(1) - hpux
Similar Topics in the Unix Linux Community
Concatenate all the files in folder on timestamps
Compare files in two folders and delete missing ones
Split a single record to multiple records &amp; add folder name to each line
Script to tar/rsync/rm multiple folder names
Hotfolder with inotify-tools, loop FOR not working