Bug 116909

Summary: fgrep gives false negatives
Product: [Fedora] Fedora Reporter: Tim Waugh <twaugh>
Component: grepAssignee: Tim Waugh <twaugh>
Status: CLOSED ERRATA QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 2.5.1-26 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-02-27 23:15:04 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:
Bug Depends On:    
Bug Blocks: 114963, 479150    

Description Tim Waugh 2004-02-26 11:31:08 UTC
Description of problem:
fgrep fails to report some matches.

Version-Release number of selected component (if applicable):
2.5.1-25 (happens in 2.5.1-16 too)

How reproducible:
100%

Steps to Reproduce:

cat >a <<EOF
a
b
c
EOF
cat >b <<EOF
a
barn
c
EOF
fgrep -w -f a b

Actual results:
a

Expected results:
a
c

Comment 1 Tim Waugh 2004-02-26 11:31:29 UTC
Might be the cause of bug #97526.

Comment 3 Dennis Gregorovic 2005-05-20 03:25:55 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2005-449.html