Commit 81eaeb17 authored by Colomban Wendling's avatar Colomban Wendling

Add a manual page

parent 468b5a52
......@@ -2,3 +2,5 @@ EXTRA_DIST = autogen.sh
bin_PROGRAMS = wrap
wrap_SOURCES = wrap.c
dist_man_MANS = wrap.1
.TH WRAP 1
.SH NAME
wrap \- wraps long lines
.SH SYNOPSIS
.B wrap
[\fB\-c\fR \fICOLUMNS\fR]
[\fB\-t\fR \fITABWIDTH\fR]
[\fIFILE\fR\.\.\.]
.SH DESCRIPTION
.B wrap
wraps long lines in the input to the specified length.
.SH OPTIONS
.TP
\fB\-c\fR \fICOLUMNS\fR
Wrap at \fICOLUMNS\fR columns.
Defaults to 72.
.TP
\fB\-t\fR \fITABWIDTH\fR
Consider tabs to stop at columns multiple of \fITABWIDTH\fR.
Defaults to 8.
.TP
\fB\-h\fR
Show the help and exit.
.SH "SEE ALSO"
.BR cut (1)
.SH COPYRIGHT
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
This file is offered as-is, without any warranty.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment