Rename mc(1) to cols(1)
There is an obvious name collision with the popular file manager midnight commander.
This commit is contained in:
parent
f34e1ae1d0
commit
bc0de5e7e5
2
Makefile
2
Makefile
|
@ -36,6 +36,7 @@ SRC = \
|
||||||
chroot.c \
|
chroot.c \
|
||||||
cksum.c \
|
cksum.c \
|
||||||
cmp.c \
|
cmp.c \
|
||||||
|
cols.c \
|
||||||
comm.c \
|
comm.c \
|
||||||
cp.c \
|
cp.c \
|
||||||
cut.c \
|
cut.c \
|
||||||
|
@ -53,7 +54,6 @@ SRC = \
|
||||||
kill.c \
|
kill.c \
|
||||||
ln.c \
|
ln.c \
|
||||||
ls.c \
|
ls.c \
|
||||||
mc.c \
|
|
||||||
md5sum.c \
|
md5sum.c \
|
||||||
mkdir.c \
|
mkdir.c \
|
||||||
mkfifo.c \
|
mkfifo.c \
|
||||||
|
|
|
@ -1,35 +1,35 @@
|
||||||
.TH MC 1 sbase\-VERSION
|
.TH COLS 1 sbase\-VERSION
|
||||||
.SH NAME
|
.SH NAME
|
||||||
mc \- multi-column
|
cols \- columnize output
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B mc
|
.B cols
|
||||||
.RB [ \-c
|
.RB [ \-c
|
||||||
.IR chars ]
|
.IR chars ]
|
||||||
.RI [ file ...]
|
.RI [ file ...]
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.B mc
|
.B cols
|
||||||
reads each file in sequence and writes them to stdout,
|
reads each file in sequence and writes them to stdout,
|
||||||
in as many vertical columns as will fit in
|
in as many vertical columns as will fit in
|
||||||
.I chars
|
.I chars
|
||||||
character columns.
|
character columns.
|
||||||
If no file is given, mc reads from stdin.
|
If no file is given, cols reads from stdin.
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.TP
|
||||||
.BI \-c " chars"
|
.BI \-c " chars"
|
||||||
specifies the maximum number of character columns to use
|
specifies the maximum number of character columns to use
|
||||||
(unless the input contains lines longer than
|
(unless the input contains lines longer than
|
||||||
.I chars
|
.I chars
|
||||||
characters). By default mc tries to figure out the width
|
characters). By default cols tries to figure out the width
|
||||||
of the output device, if that fails it defaults to 65
|
of the output device, if that fails it defaults to 65
|
||||||
chars.
|
chars.
|
||||||
.SH BUGS
|
.SH BUGS
|
||||||
This implementation of
|
This implementation of
|
||||||
.B mc
|
.B cols
|
||||||
assumes that every byte is a character
|
assumes that every byte is a character
|
||||||
which takes up one column on the screen.
|
which takes up one column on the screen.
|
||||||
It does not handle non-ASCII UTF-8 runes
|
It does not handle non-ASCII UTF-8 runes
|
||||||
or TAB characters correctly.
|
or TAB characters correctly.
|
||||||
.B mc
|
.B cols
|
||||||
currently mangles files which contain embedded NULs.
|
currently mangles files which contain embedded NULs.
|
||||||
.B mc
|
.B cols
|
||||||
does not allow the user to set a default width in its environment.
|
does not allow the user to set a default width in its environment.
|
Loading…
Reference in New Issue
Block a user