Revision 8856
Added by Aaron Marcuse-Kubitza over 11 years ago
lib/util.sh | ||
---|---|---|
68 | 68 |
echo ----- >&2 |
69 | 69 |
} |
70 | 70 |
|
71 |
echo_vars () { declare -p "${@%%=*}" >&2; } # usage: echo_vars var... |
|
71 |
echo_vars () # usage: echo_vars var... |
|
72 |
{ { echo -n "$PS4"; declare -p "${@%%=*}";} >&2; } |
|
72 | 73 |
|
73 | 74 |
echo_export () |
74 | 75 |
{ |
Also available in: Unified diff
lib/util.sh: echo_vars (): prefix the declare output with "+ " because it's actually a command, not just an indication of the var's value