SHTOOL-TABLE.TMP(1)
π shtool-table β the GNU shtool glow-up for pretty-printing a field-separated list π
okay bestie, so this is the shtool-table page from GNU Portable Shell Tool, manual section 1 (that's your general user commands, iykyk). It's a lil' subcommand of shtool and it literally exists to make your messy string list look like a cute lil' table. no cap. β¨
πΈ NAME πΈ
shtool-table β GNU shtool's pretty-printer for a field-separated list π
π¦ SYNOPSIS π¦
shtool table [-F|--field-sep sep] [-w|--width width] [-c|--columns cols]
[-s|--strip strip] strsepstr...
yes bestie, that's the whole vibe. you hand it strings, it hands you a table. periodt. π
π DESCRIPTION π
So what does it even do?? It pretty-prints a list of strings as a table. That's it. That's the whole job. it's giving "organized queen" energy. π
β¨ OPTIONS β¨
the following command line options are available, and yes we're going through all of them, no skipping. π«Ά
-F,--field-sepsep β separate columns using sep. the default is":". so if your data is comma-y, this is your girl. π-w,--widthwidth β the width of each column. default is 15 characters. skinny columns, chunky columns, you decide. π-c,--columnscols β how many columns you want. default is 3. three. iconic number tbh. β-s,--stripstrip β strip off any characters past strip. default is 79. she's got a hard limit and she's not sorry. π
π§ EXAMPLE π§
here's the moment you've all been waiting for, bestie β look at her go:
# shell script
shtool table -F , -w 5 -c 4 "1,2,3,4,5,6,7,8,9,10,11,12"
comma-separated, 5-wide columns, 4 of them. numbers 1 through 12 lined up like a lil' squad. ate. π₯
π HISTORY π
The GNU shtool table command was originally written by Ralf S. Engelschall <rse@engelschall.com> in 1999 for GNU shtool. a true OG, fr fr. π
π SEE ALSO π
bestie reminder: everything above is exactly what the page says. the vibes are mine, the facts are hers. π
okay that's the whole page, mwah. this was shtool 2.0.8, dated 18-Jul-2008 β yeah she's a lil' vintage but she still slays. πβ¨π
π¦ where this page comes from
- debian bookworm: shtool 2.0.8-10 Β· GPL-2.0-or-later
- debian trixie: shtool 2.0.8-10 Β· GPL-2.0-or-later
- ubuntu jammy: shtool 2.0.8-10 Β· GPL-2.0-or-later
- ubuntu noble: shtool 2.0.8-10 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms