Bug 42720 - ksh read command does not read from pipe
Summary: ksh read command does not read from pipe
Keywords:
Status: CLOSED DUPLICATE of bug 8894
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: pdksh
Version: 7.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Trond Eivind Glomsrxd
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-05-29 17:26 UTC by slee
Modified: 2008-05-01 15:38 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2001-05-29 17:59:33 UTC
Embargoed:


Attachments (Terms of Use)

Description slee 2001-05-29 17:26:20 UTC
Description of Problem: The ksh read command does not read from a pipe.


How Reproducible: All the time.


Steps to Reproduce:
1. Using ksh
2. echo A B C | read AA BB CC
3. echo $AA

Actual Results: You get nothing.


Expected Results: You should get A


Additional Information:  The results are the same if you use command line 
or put results in a script.

I don't recall exact version of distribution.  I believe it is 7.0??.
uname -a gives:
Linux harley 2.2.16-22 #2 Sat Apr 21 14:10:28 CDT 2001 i586 unknown

The 'component' field would not let me specify ksh or Korn Shell (why?), 
but would not let me submit the bug without something; so I picked 
something.

Comment 1 Trond Eivind Glomsrxd 2001-05-29 17:59:29 UTC
This isn't against 4Suite...

Comment 2 Trond Eivind Glomsrxd 2001-05-29 18:02:07 UTC

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


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