Revision 8279
Added by Aaron Marcuse-Kubitza over 11 years ago
util.run | ||
---|---|---|
24 | 24 |
|
25 | 25 |
echo_run () { echo_cmd "$@"; "$@"; } |
26 | 26 |
|
27 |
# usage: echo_func "$FUNCNAME" "$@" |
|
28 |
echo_func () { echo_cmd "${BASH_SOURCE[1]}" "$@"; } |
|
29 |
|
|
27 | 30 |
echo_stdin () { tee -a /dev/stderr; } # usage: input|echo_stdin|cmd |
28 | 31 |
|
29 | 32 |
usage () { echo "Usage: $1" >&2; (exit 2); } |
Also available in: Unified diff
lib/util.run: Added echo_func