Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 49336 - PIPESTATUS vari able not set
PIPESTATUS vari able not set
Status: CLOSED DUPLICATE of bug 49335
Product: Red Hat Raw Hide
Classification: Retired
Component: bash (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Bernhard Rosenkraenzer
Aaron Brown
Depends On:
  Show dependency treegraph
Reported: 2001-07-18 01:54 EDT by j. alan eldridge
Modified: 2007-04-18 12:34 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-07-18 01:55:30 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description j. alan eldridge 2001-07-18 01:54:30 EDT
Description of Problem:

              An  array  variable (see Arrays below) containing a
              list of exit status values from  the  processes  in
              the   most-recently-executed   foreground  pipeline
              (which may contain only a single command).

How Reproducible:

[alane@wwweasel alane]$ false
[alane@wwweasel alane]$ echo $?
[alane@wwweasel alane]$ false|false
[alane@wwweasel alane]$ echo ${#PIPESTATUS[*]}
[alane@wwweasel alane]$ false|false
[alane@wwweasel alane]$ echo $PIPESTATUS
[alane@wwweasel alane]$ rpm -q bash
[alane@wwweasel alane]$ set | grep BASH
BASH_VERSINFO=([0]="2" [1]="05" [2]="8" [3]="1" [4]="release" 
[alane@wwweasel alane]$

Does this have to enabled by an option to configure when bash is built?

Additional Notes:

I would be very surprised if this problem does not exist in the release 
RPMS of bash as well, unless something obvious has changed very recently.
Comment 1 Bernhard Rosenkraenzer 2001-07-18 06:17:58 EDT

*** This bug has been marked as a duplicate of 49335 ***

Note You need to log in before you can comment on or make changes to this bug.