$PIPESTATUS
–
Exit Status Values of Pipeline
$PIPESTATUS
is an array and contains the exit status values of the most-recently-executed foreground pipeline.
Links
BashSupport Pro 是一个 支持 $PIPESTATUS 的 Bash 集成开发工具 – 马上试用!