2011-06-08 20:30:33 +00:00
|
|
|
.TH FOLD 1 sbase\-VERSION
|
|
|
|
.SH NAME
|
|
|
|
fold \- wrap lines to width
|
|
|
|
.SH SYNOPSIS
|
|
|
|
.B fold
|
|
|
|
.RB [ \-bs ]
|
|
|
|
.RB [ \-w
|
|
|
|
.IR width ]
|
|
|
|
.RI [ file ...]
|
|
|
|
.SH DESCRIPTION
|
|
|
|
.B fold
|
|
|
|
reads each file in sequence and prints its lines, broken such that no line
|
2012-05-25 20:51:24 +00:00
|
|
|
exceeds 80 UTF-8 characters. If no file is given, fold reads from stdin.
|
2011-06-08 20:30:33 +00:00
|
|
|
.SH OPTIONS
|
|
|
|
.TP
|
|
|
|
.B \-b
|
2012-05-25 20:51:24 +00:00
|
|
|
counts bytes rather than characters.
|
2011-06-08 20:30:33 +00:00
|
|
|
.TP
|
|
|
|
.B \-s
|
|
|
|
breaks only at spaces.
|
|
|
|
.TP
|
|
|
|
.BI \-w " width"
|
2012-05-25 20:51:24 +00:00
|
|
|
breaks at
|
2011-06-08 20:30:33 +00:00
|
|
|
.I width
|
2012-05-25 20:51:24 +00:00
|
|
|
characters, instead of 80.
|