Bug 59222
Summary: | grep not functioning properly in while loop | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Brian Hanks <brice> |
Component: | grep | Assignee: | Bernhard Rosenkraenzer <bero> |
Status: | CLOSED DUPLICATE | QA Contact: | Aaron Brown <abrown> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.2 | CC: | brice |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2002-02-02 19:26:19 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Brian Hanks
2002-02-02 19:26:14 UTC
grep is doing the right thing, your script isn't. You're expecting read to do things it actually doesn't, see "bug" #19747. *** This bug has been marked as a duplicate of 19747 *** Why does "read" not function the way I "expect" it to? When I run this same test on Solaris 7, Solaris 8, or HP-UX 11 it works exactly as I would "expect". Linux is the only place where I have this problem. |