-
-
Notifications
You must be signed in to change notification settings - Fork 174
Open
Description
This is over 5K lines of bash:
https://github.com/aristocratos/bashtop
$ wc -l bashtop
5250 bashtop
After editing out the version check, we get some expected errors that are easily fixed (e.g. by editing quotes):
$ osh bashtop
declare -A graph_symbol_up='(
^~~~~~~~~~~~~~~~
bashtop:228: 'declare' Got -A but RHS isn't an associative array
declare -A graph_symbol_down='(
^~~~~~~~~~~~~~~~~~
bashtop:235: 'declare' Got -A but RHS isn't an associative array
box[boxes]="cpu mem net processes"
^~~~
bashtop:243: fatal: Associative array keys must be strings: $x 'x' "$x" etc.