mirror of
git://git.suckless.org/sbase
synced 2024-12-23 07:25:07 +00:00
26 lines
469 B
Groff
26 lines
469 B
Groff
.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
|
|
exceeds 80 UTF-8 characters. If no file is given, fold reads from stdin.
|
|
.SH OPTIONS
|
|
.TP
|
|
.B \-b
|
|
counts bytes rather than characters.
|
|
.TP
|
|
.B \-s
|
|
breaks only at spaces.
|
|
.TP
|
|
.BI \-w " width"
|
|
breaks at
|
|
.I width
|
|
characters, instead of 80.
|