Programs: shell libraries: Difference between revisions
From wikinotes
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
Bash doesn't exactly have libraries per se, but there are some bash-front ends to libraries | 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. | (like curses) that allow you to interact with them from shellscripts. | ||
= UI = | = UI = | ||
{| | {| | ||
|- | |- | ||
| [[dialog (shell)]] || bash interface for the curses library | | [[dialog (shell)]] || bash interface for the curses library | ||
|- | |- | ||
Line 12: | Line 12: | ||
|- | |- | ||
|} | |} | ||
= Structured Text = | |||
<blockquote> | |||
{| | |||
|- | |||
| [[jq]] || parse json | |||
|- | |||
| [[yq]] || parse yaml | |||
|- | |||
| [[tomlq]] || parse toml | |||
|- | |||
|} | |||
</blockquote><!-- Structured Text --> |
Revision as of 14:55, 28 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