Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 674671 Details for
Bug 892206
Using a pipe in a command substitution triggers wrong return codes
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh92 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
repro case for ksh bug? running under vmware (RH 5)
file_892206.txt (text/plain), 269 bytes, created by
warkruid
on 2013-01-08 10:32:39 UTC
(
hide
)
Description:
repro case for ksh bug? running under vmware (RH 5)
Filename:
MIME Type:
Creator:
warkruid
Created:
2013-01-08 10:32:39 UTC
Size:
269 bytes
patch
obsolete
>#!/bin/ksh >echo foo | grep $(echo foo | grep foo) >/dev/null 2>&1;echo $? >grep bar /etc/foo >/dev/null 2>&1;echo $? >grep bar /etc/foo >/dev/null 2>&1;echo $? > > ># expected output 0 2 2, but on VM's 0 0 0 or 0 2 0 or 0 0 2 or 0 2 2 ># run with "watch -n1 kshbug.sh"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 892206
: 674671 |
674812