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.
|Tags||Software Development Libraries|
Release Notes: Symbols such as "'`*\?&|; are correctly escaped before being sent to eval. As a result, all these symbols are allowed in commands. Support for the /bin/sh of Solaris was added.
Release Notes: "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.