SHTOOL-TABLE.TMP(1)

πŸ“¦
version 2.0.8 Β· 3 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble

πŸ’– 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-sep sep β€” separate columns using sep. the default is ":". so if your data is comma-y, this is your girl. πŸ“
  • -w, --width width β€” the width of each column. default is 15 characters. skinny columns, chunky columns, you decide. πŸ’…
  • -c, --columns cols β€” how many columns you want. default is 3. three. iconic number tbh. ⭐
  • -s, --strip strip β€” 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