Revision 12769
Added by Aaron Marcuse-Kubitza almost 11 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() # wrapper usage: pattern=... [ignore_e=#] stderr_matches cmd... |
783 |
# wrapper caller usage: prep_try; if wrapper; then rethrow; ...; fi; rethrow |
|
783 |
# wrapper caller usage: prep_try; if [!] wrapper; then rethrow; ...; fi; rethrow
|
|
784 | 784 |
# exit status of cmd is placed in $e for use with exception handling |
785 | 785 |
{ |
786 | 786 |
echo_func; kw_params pattern ignore_e; : "${pattern?}" |
Also available in: Unified diff
lib/sh/util.sh: stderr_matches(): wrapper caller usage: documented usage for a negated condition (ie. prefixed w/ !)