1
0
mirror of git://git.suckless.org/sbase synced 2024-12-25 00:12:42 +00:00
sbase/fold.1
Connor Lane Smith ff97891dad add fold
2011-06-08 21:30:33 +01:00

26 lines
451 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 characters. If no file is given, fold reads from stdin.
.SH OPTIONS
.TP
.B \-b
counts bytes rather than columns.
.TP
.B \-s
breaks only at spaces.
.TP
.BI \-w " width"
uses
.I width
columns instead of 80.