Programs: shell libraries

From wikinotes
Revision as of 13:38, 14 September 2021 by Will (talk | contribs) (→‎Structured Text)

Bash doesn't exactly have libraries per se, but there are some bash-front ends to libraries (like curses) that allow you to interact with them from shellscripts.

UI

dialog (shell) bash interface for the curses library
bash-oo-framework OOP, exceptions, etc in bash
tput get info from the termcap db

Structured Text

jq parse json
yq parse yaml
tomlq parse toml
dasel parse json, yaml, toml, xml, csv. no external deps.
csvsql SQL queries to CSV files