fold man page on OpenBSD

Man page or keyword search:  
man Server   11362 pages
apropos Keyword Search (all sections)
Output format
OpenBSD logo
[printable version]

FOLD(1)			   OpenBSD Reference Manual		       FOLD(1)

NAME
     fold - fold long lines for finite width output device

SYNOPSIS
     fold [-bs] [-w width] [file ...]

DESCRIPTION
     fold is a filter which folds the contents of the specified files, or the
     standard input if no files are specified, breaking the lines to have a
     maximum of 80 characters.

     The options are as follows:

     -b	     Count width in bytes rather than column positions.

     -s	     Fold line after the last blank character within the first width
	     column positions (or bytes).

     -w width
	     Specifies a line width to use instead of the default 80
	     characters.

EXIT STATUS
     The fold utility exits 0 on success, and >0 if an error occurs.

SEE ALSO
     expand(1)

STANDARDS
     The fold utility is compliant with the IEEE Std 1003.1-2008 (``POSIX'')
     specification.

BUGS
     If underlining (see ul(1)) is present it may be messed up by folding.

     width should be a multiple of 8 if tabs are present, or the tabs should
     be expanded using expand(1) before using fold.

OpenBSD 4.9		       September 3, 2010		   OpenBSD 4.9
[top]

List of man pages available for OpenBSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net