Revision 12761
Added by Aaron Marcuse-Kubitza over 10 years ago
trunk/lib/sh/util.sh | ||
---|---|---|
780 | 780 |
{ echo_func; pipe_delay; pipe_delay; pipe_delay; "$@"|echo_stdout >/dev/null; } |
781 | 781 |
|
782 | 782 |
stderr_matches() # usage: prep_try; if pattern=... "stderr_matches" cmd...; \ |
783 |
# then ...; fi; rethrow # manually rethrow any command error (if applicable)
|
|
783 |
# then ...; fi; [ignore_e #;] rethrow # rethrow any command error, if applicable
|
|
784 | 784 |
# exit status of cmd is placed in $e for use with exception handling |
785 | 785 |
{ |
786 | 786 |
echo_func; kw_params pattern; : "${pattern?}" |
Also available in: Unified diff
lib/sh/util.sh: stderr_matches(): usage: documented where any ignore_e statement would go