Home
Search all pages
Subjects
By activity
Professions, Sciences, Humanities, Business, ...
User Interface
Text-based, GUI, Audio, Video, Keyboards, Mouse, Images,...
Text Strings
Conversions, tests, processing, manipulation,...
Math
Integer, Floating point, Matrix, Statistics, Boolean, ...
Processing
Algorithms, Memory, Process control, Debugging, ...
Stored Data
Data storage, Integrity, Encryption, Compression, ...
Communications
Networks, protocols, Interprocess, Remote, Client Server, ...
Hard World Timing, Calendar and Clock, Audio, Video, Printer, Controls...
File System
Management, Filtering, File & Directory access, Viewers, ...
|
|
|
RocketLink!--> Man page versions:
OpenBSD
FreeBSD
NetBSD
RedHat
Solaris
Others
[IEEE Std1003.2-1992 (``POSIX.2'')]
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 charac-
ters.
The fold utility exits 0 on success or >0 if an error occurred.
SEE ALSO
expand(1)
STANDARDS
The fold utility conforms to IEEE Std1003.2-1992 (``POSIX.2'').
BUGS
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 2.6 June 6, 1993 1
Source: OpenBSD 2.6 man pages. Copyright: Portions are copyrighted by BERKELEY SOFTWARE DESIGN, INC., The Regents of the University of California, Massachusetts Institute of Technology, Free Software Foundation, FreeBSD Inc., and others. |
(Corrections, notes, and links courtesy of RocketAware.com)
FreeBSD Sources for fold(1) OpenBSD sources for fold(1)
Up to: Text File Output - Methods of printing and displaying text files.
Up to: File Viewers - Viewing the contents of files in various forms.
RocketLink!--> Man page versions:
OpenBSD
FreeBSD
NetBSD
RedHat
Solaris
Others
[IEEE Std1003.2-1992 (``POSIX.2'')]
Rapid-Links:
Search | About | Comments | Submit Path: RocketAware >
fold.1/
RocketAware.com is a service of Mib Software Copyright 1999, Forrest J. Cavalier III. All Rights Reserved. We welcome submissions and comments
|