shtool-table(1)

shtool-table1

Gnu shtool pretty-print a field-separated list

Usage

shtool table [{-F | --field-sep sep}] [{-w | --width width}] [{-c | --columns cols}] [{-s | --strip strip}] strsepstr ...

Overview

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.

Examples

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

Releases

11 releases since Debian 3.1 (Sarge); the text changed 5 times.

  1. 3.1
  2. 4.0
  3. 5.0
  4. 6.0–8
  5. 9–10
  6. 11–13

History

The GNU shtool table command was originally written by Ralf S. Engelschall <[email protected]> in 1999 for GNU shtool.

From shtool 2.0.8-10 in Debian 13 (Trixie). Parsed by carta from the page's man source.