Skip to content

Run bashtop #776

@andychu

Description

@andychu

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions