pipestatus is a source file for UNIX/POSIX shells
that provides set of functions for obtaining the
exit status of every program in a pipe without
using non-portable extensions. Most shells, such
as BSD /bin/sh, ksh, pdksh, ash, bash, dash, mksh,
and zsh are supported.
License: Public Domain
Changes:
"check_status_re" and therefore "runpipe_re" use
"grep -E" instead of "grep" in order to simplify
the regexp that contains exit statuses of 2 or
more digits. Formally speaking, this breaks
backward compatibility. If the PIPESTATUS_VERBOSE
variable is set to a non-empty string, then the
check_status0 and check_status_re functions print
an error message to stderr.