Indent, uncompactify and sort options.
This commit is contained in:
parent
0770a23f52
commit
9578a6d3f1
116
usr.bin/rs/rs.1
116
usr.bin/rs/rs.1
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: rs.1,v 1.4 2001/12/18 00:46:03 wiz Exp $
|
||||
.\" $NetBSD: rs.1,v 1.5 2001/12/18 00:50:59 wiz Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1993
|
||||
.\" The Regents of the University of California. All rights reserved.
|
||||
|
@ -77,20 +77,7 @@ There are options to control presentation of the output columns,
|
|||
including transposition of the rows and columns.
|
||||
.Pp
|
||||
The options are described below.
|
||||
.Bl -tag -width xxxxxx -compact
|
||||
.It Fl c Op Ar x
|
||||
Input columns are delimited by the single character
|
||||
.Ar x .
|
||||
A missing
|
||||
.Ar x
|
||||
is taken to be
|
||||
.Sq \&^I .
|
||||
.It Fl s Op Ar x
|
||||
Like
|
||||
.Fl c ,
|
||||
but maximal strings of
|
||||
.Ar x
|
||||
are delimiters.
|
||||
.Bl -tag -width xxxxxx -offset indent
|
||||
.It Fl C Op Ar x
|
||||
Output columns are delimited by the single character
|
||||
.Ar x .
|
||||
|
@ -98,12 +85,64 @@ A missing
|
|||
.Ar x
|
||||
is taken to be
|
||||
.Sq \&^I .
|
||||
.It Fl c Op Ar x
|
||||
Input columns are delimited by the single character
|
||||
.Ar x .
|
||||
A missing
|
||||
.Ar x
|
||||
is taken to be
|
||||
.Sq \&^I .
|
||||
.It Fl e
|
||||
Consider each line of input as an array entry.
|
||||
.It Fl G Ar N
|
||||
The gutter width (inter-column space) has
|
||||
.Ar N
|
||||
percent of the maximum column width added to it.
|
||||
.It Fl g Ar N
|
||||
The gutter width (inter-column space), normally 2, is taken to be
|
||||
.Ar N .
|
||||
.It Fl H
|
||||
Like
|
||||
.Fl h ,
|
||||
but also print the length of each line.
|
||||
.It Fl h
|
||||
Print the shape of the input array and do nothing else.
|
||||
The shape is just the number of lines and the number of
|
||||
entries on the first line.
|
||||
.It Fl j
|
||||
Right adjust entries within columns.
|
||||
.It Fl K Ar N
|
||||
Like
|
||||
.Fl k ,
|
||||
but print the ignored lines.
|
||||
.It Fl k Ar N
|
||||
Ignore the first
|
||||
.Ar N
|
||||
lines of input.
|
||||
.It Fl m
|
||||
Do not trim excess delimiters from the ends of the output array.
|
||||
.It Fl n
|
||||
On lines having fewer entries than the first line,
|
||||
use null entries to pad out the line.
|
||||
Normally, missing entries are taken from the next line of input.
|
||||
.It Fl S Op Ar x
|
||||
Like
|
||||
.Fl C ,
|
||||
but padded strings of
|
||||
.Ar x
|
||||
are delimiters.
|
||||
.It Fl s Op Ar x
|
||||
Like
|
||||
.Fl c ,
|
||||
but maximal strings of
|
||||
.Ar x
|
||||
are delimiters.
|
||||
.It Fl T
|
||||
Print the pure transpose of the input, ignoring any
|
||||
.Ar rows
|
||||
or
|
||||
.Ar cols
|
||||
specification.
|
||||
.It Fl t
|
||||
Fill in the rows of the output array using the columns of the
|
||||
input array, that is, transpose the input while honoring any
|
||||
|
@ -111,53 +150,14 @@ input array, that is, transpose the input while honoring any
|
|||
and
|
||||
.Ar cols
|
||||
specifications.
|
||||
.It Fl T
|
||||
Print the pure transpose of the input, ignoring any
|
||||
.Ar rows
|
||||
or
|
||||
.Ar cols
|
||||
specification.
|
||||
.It Fl k Ar N
|
||||
Ignore the first
|
||||
.Ar N
|
||||
lines of input.
|
||||
.It Fl K Ar N
|
||||
Like
|
||||
.Fl k ,
|
||||
but print the ignored lines.
|
||||
.It Fl g Ar N
|
||||
The gutter width (inter-column space), normally 2, is taken to be
|
||||
.Ar N .
|
||||
.It Fl G Ar N
|
||||
The gutter width has
|
||||
.Ar N
|
||||
percent of the maximum column width added to it.
|
||||
.It Fl e
|
||||
Consider each line of input as an array entry.
|
||||
.It Fl n
|
||||
On lines having fewer entries than the first line,
|
||||
use null entries to pad out the line.
|
||||
Normally, missing entries are taken from the next line of input.
|
||||
.It Fl y
|
||||
If there are too few entries to make up the output dimensions,
|
||||
pad the output by recycling the input from the beginning.
|
||||
Normally, the output is padded with blanks.
|
||||
.It Fl h
|
||||
Print the shape of the input array and do nothing else.
|
||||
The shape is just the number of lines and the number of
|
||||
entries on the first line.
|
||||
.It Fl H
|
||||
Like
|
||||
.Fl h ,
|
||||
but also print the length of each line.
|
||||
.It Fl j
|
||||
Right adjust entries within columns.
|
||||
.It Fl w Ar N
|
||||
The width of the display, normally 80, is taken to be the positive
|
||||
integer
|
||||
.Ar N .
|
||||
.It Fl m
|
||||
Do not trim excess delimiters from the ends of the output array.
|
||||
.It Fl y
|
||||
If there are too few entries to make up the output dimensions,
|
||||
pad the output by recycling the input from the beginning.
|
||||
Normally, the output is padded with blanks.
|
||||
.It Fl z
|
||||
Adapt column widths to fit the largest entries appearing in them.
|
||||
.El
|
||||
|
|
Loading…
Reference in New Issue