Revision 9138
Added by Aaron Marcuse-Kubitza almost 12 years ago
lib/sh/util.sh | ||
---|---|---|
207 | 207 |
## external commands |
208 | 208 |
|
209 | 209 |
function command() # usage: [stderr_is_errors=1] command extern_cmd... |
210 |
# to view only explicitly-displayed errors: errors_only=1 script... |
|
210 |
# to view only explicitly-displayed errors: explicit_errors_only=1 script...
|
|
211 | 211 |
{ |
212 | 212 |
set -- -- "$@" # prepend -- so command name not treated as `command` option |
213 | 213 |
set -- builtin command "$@" |
Also available in: Unified diff
bugfix: lib/sh/util.sh: command(): updated $errors_only var name to $explicit_errors_only