User Tools

Site Tools


shell_dump_function

This is an old revision of the document!


Error loading plugin creole
Error: Class 'Doku_Handler_List' not found
More info is available in the error log.

To save piles of typing when debugging scripts:

dump () { 
    for v in "$@"; do
        eval "echo ${v} = \$${v}";
    done
}

Then:

$ dump PATH HOME
PATH = /home/rpjday/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/go/bin:/home/rpjday/bin:/home/rpjday/go1.11.4/go/bin
HOME = /home/rpjday
shell_dump_function.1571905618.txt.gz · Last modified: 2019/10/24 08:26 by rpjday