Man page - shtool-table(1)
Packages contains this manual
- shtool-path(1)
- shtool-mkln(1)
- shtool-platform(1)
- shtool-tarball(1)
- shtool-arx(1)
- shtool-mkshadow(1)
- shtool(1)
- shtool-rotate(1)
- shtool-slo(1)
- shtool-mdate(1)
- shtool-echo(1)
- shtool-subst(1)
- shtool-scpp(1)
- shtool-install(1)
- shtool-mkdir(1)
- shtoolize(1)
- shtool-fixperm(1)
- shtool-prop(1)
- shtool-move(1)
- shtool-table(1)
- shtool-version(1)
apt-get install shtool
Manual
SHTOOL-TABLE.TMP
NAMESYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLE
HISTORY
SEE ALSO
NAME
shtool-table - GNU shtool pretty-print a field-separated list
SYNOPSIS
shtool table [ -F | --field-sep sep ] [ -w | --width width ] [ -c | --columns cols ] [ -s | --strip strip ] str sep str ...
DESCRIPTION
This pretty-prints a list of strings as a table.
OPTIONS
The following
command line options are available.
-F
,
--field-sep
sep
Separate columns using sep . Default is ":".
-w , --width width
Width of each column. Default is 15 characters.
-c , --columns cols
Number of columns. Default is 3.
-s , --strip strip
Strip off any characters past strip . Default is 79.
EXAMPLE
# shell script
shtool table -F , -w 5 -c 4
"1,2,3,4,5,6,7,8,9,10,11,12"
HISTORY
The GNU shtool table command was originally written by Ralf S. Engelschall <rse@engelschall.com> in 1999 for GNU shtool .
SEE ALSO
shtool (1), tr (1), fmt (1), sh (1), awk (1), sed (1).