*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->OpenBSD man pages -> fold (1)              
Title
Content
Arch
Section
 

FOLD(1)

Contents


NAME    [Toc]    [Back]

     fold - fold long lines for finite width output device

SYNOPSIS    [Toc]    [Back]

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

DESCRIPTION    [Toc]    [Back]

     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.


     The fold utility exits 0 on success or >0 if  an  error  occurred.

SEE ALSO    [Toc]    [Back]

      
      
     expand(1)

STANDARDS    [Toc]    [Back]

     The   fold   utility   conforms   to  IEEE  Std  1003.2-1992
(``POSIX.2'').

BUGS    [Toc]    [Back]

     If underlining 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      3.6                           June      6,      1993
[ Back ]
 Similar pages
Name OS Title
linewidth IRIX specifies width of lines
glLineWidth Tru64 specify the width of rasterized lines
gllinewidth IRIX specify the width of rasterized lines
wcstoul FreeBSD convert a wide character string value to a long, unsigned long, long long, unsigned long long, intma...
wcstoull FreeBSD convert a wide character string value to a long, unsigned long, long long, unsigned long long, intma...
wcstoimax FreeBSD convert a wide character string value to a long, unsigned long, long long, unsigned long long, intma...
wcstoumax FreeBSD convert a wide character string value to a long, unsigned long, long long, unsigned long long, intma...
wcstoll FreeBSD convert a wide character string value to a long, unsigned long, long long, unsigned long long, intma...
wcstol FreeBSD convert a wide character string value to a long, unsigned long, long long, unsigned long long, intma...
wcstol IRIX convert wide character string to long integer, unsigned long integer, long long integer, unsigned long long in
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service