Programs: shell libraries: Difference between revisions

From wikinotes
Line 24: Line 24:
|-
|-
| [[tomlq]] || parse toml
| [[tomlq]] || parse toml
|-
| [[dasel]] || parse json, yaml, toml, xml, csv. no external deps.
|-
|-
|}
|}
</blockquote><!-- Structured Text -->
</blockquote><!-- Structured Text -->

Revision as of 15:02, 29 August 2021

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.