Revision 12759
Added by Aaron Marcuse-Kubitza almost 11 years ago
trunk/lib/sh/util.sh | ||
---|---|---|
60 | 60 |
function echo_vars() { :; } |
61 | 61 |
|
62 | 62 |
|
63 |
#### debugging |
|
64 |
|
|
65 |
dp() { echo "$@" >&2; } # usage: pv var... # debug-prints message |
|
66 |
|
|
67 |
|
|
63 | 68 |
#### logic |
64 | 69 |
|
65 | 70 |
not() { ! "$@"; } # usage: wrapper_cmd not wrapped_cmd... # inverts exit status |
Also available in: Unified diff
lib/sh/util.sh: added dp(), which debug-prints a message