1SHTOOL-TABLE.TMP(1)         GNU Portable Shell Tool        SHTOOL-TABLE.TMP(1)
2
3
4

NAME

6       shtool table - GNU shtool pretty-print a field-separated list
7

SYNOPSIS

9       shtool table [-F|--field-sep sep] [-w|--width width] [-c|--columns
10       cols] [-s|--strip strip] strsepstr...
11

DESCRIPTION

13       This pretty-prints a list of strings as a table.
14

OPTIONS

16       The following command line options are available.
17
18       -F, --field-sep sep
19           Separate columns using sep. Default is ":".
20
21       -w, --width width
22           Width of each column. Default is 15 characters.
23
24       -c, --columns cols
25           Number of columns. Default is 3.
26
27       -s, --strip strip
28           Strip off any characters past strip. Default is 79.
29

EXAMPLE

31        #   shell script
32        shtool table -F , -w 5 -c 4 "1,2,3,4,5,6,7,8,9,10,11,12"
33

HISTORY

35       The GNU shtool table command was originally written by Ralf S.
36       Engelschall <rse@engelschall.com> in 1999 for GNU shtool.
37

SEE ALSO

39       shtool(1), tr(1), fmt(1), sh(1), awk(1), sed(1).
40
41
42
4318-Jul-2008                      shtool 2.0.8              SHTOOL-TABLE.TMP(1)
Impressum