Programs: shell libraries: Difference between revisions
From wikinotes
No edit summary |
|||
Line 31: | Line 31: | ||
|} | |} | ||
</blockquote><!-- Structured Text --> | </blockquote><!-- Structured Text --> | ||
= Testing = | |||
<blockquote> | |||
{| class="wikitable" | |||
|- | |||
| [[bats]] || test framework for bash | |||
|- | |||
|} | |||
</blockquote><!-- Testing --> |
Revision as of 19:53, 23 September 2023
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
Testing
bats test framework for bash