Discussion:
[1003.1(2008)/Issue 7 0000789]: Add set -o pipefail
Austin Group Bug Tracker
2014-05-28 15:47:30 UTC
Permalink
A NOTE has been added to this issue.
======================================================================
http://austingroupbugs.net/view.php?id=789
======================================================================
Reported By: weeks
Assigned To: ajosey
======================================================================
Project: 1003.1(2008)/Issue 7
Issue ID: 789
Category: Shell and Utilities
Type: Enhancement Request
Severity: Comment
Priority: normal
Status: Under Review
Name: Nathan Weeks
Organization: USDA-ARS
User Reference:
Section: 2.9.2
Page Number: 2341
Line Number: 74464-74467
Interp Status: ---
Final Accepted Text:
======================================================================
Date Submitted: 2013-11-08 16:02 UTC
Last Modified: 2014-05-28 15:47 UTC
======================================================================
Summary: Add set -o pipefail
======================================================================

----------------------------------------------------------------------
(0002253) weeks (reporter) - 2014-05-28 15:47
http://austingroupbugs.net/view.php?id=789#c2253
----------------------------------------------------------------------
mksh, bash, and zsh implement PIPESTATUS (pipestatus, for zsh) arrays
containing the exit statuses of the previous foreground pipeline; however,
busybox ash lacks arrays, and ksh does not have an equivalent array of exit
statuses.

It would be expedient to first standardize common practice that's portable
between the existing implementations ("set -o pipefail" only), then
possibly mandate an array of exit statuses if/when arrays are standardized.

Issue History
Date Modified Username Field Change
======================================================================
2013-11-08 16:02 weeks New Issue
2013-11-08 16:02 weeks Status New => Under Review
2013-11-08 16:02 weeks Assigned To => ajosey
2013-11-08 16:02 weeks Name => Nathan Weeks
2013-11-08 16:02 weeks Organization => USDA-ARS
2013-11-08 16:02 weeks Section => 2.9.2
2013-11-08 16:02 weeks Page Number => 0
2013-11-08 16:02 weeks Line Number => 0
2013-11-08 16:06 weeks File Added: pipeline_exit_status.txt

2013-11-08 16:07 weeks Desired Action Updated
2013-11-08 16:15 eblake Note Added: 0001976
2013-11-08 16:50 Don Cragun Interp Status => ---
2013-11-08 16:50 Don Cragun Desired Action Updated
2013-11-08 16:57 Don Cragun Page Number 0 => 2341
2013-11-08 16:57 Don Cragun Line Number 0 => 74464-74467
2013-11-08 16:57 Don Cragun Note Added: 0001977
2013-11-08 16:58 Don Cragun File Deleted: pipeline_exit_status.txt

2013-11-08 21:05 shware_systems Note Added: 0001978
2013-11-12 15:42 weeks Note Added: 0001982
2013-11-12 15:51 eblake Note Added: 0001983
2013-11-12 16:08 shware_systems Note Edited: 0001978
2013-12-11 22:40 weeks Note Added: 0002067
2014-01-16 23:15 shware_systems Note Added: 0002107
2014-05-28 15:47 weeks Note Added: 0002253
======================================================================
Loading...