Project

General

Profile

« Previous | Next » 

Revision 13342

fix: lib/sh/util.sh: stderr_matches(): usage: documented that this may require benign_error=1

View differences:

util.sh
1107 1107
	pipe_delay; pipe_delay; pipe_delay; "$@"|echo_stdout >/dev/null
1108 1108
}
1109 1109

  
1110
stderr_matches() # usage: pattern=... [ignore_e=#] stderr_matches cmd...
1110
stderr_matches() # usage: pattern=... [ignore_e=# [benign_error=1]] \
1111
# stderr_matches cmd...
1111 1112
{
1112 1113
	echo_func; kw_params pattern ignore_e; : "${pattern?}"
1113 1114
	

Also available in: Unified diff