Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 113640 - "grep -D skip" doesn't skip FIFOs.
Summary: "grep -D skip" doesn't skip FIFOs.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-26 10:42 UTC by Ingo van Lil
Modified: 2005-11-26 12:09 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ingo van Lil 2005-11-26 10:42:18 UTC
Contrary to the description in the grep man page the option "-D skip" doesn't
make grep skip FIFOs (named pipes). The bug has been fixed in grep CVS more than
a year ago, but unfortunately they have not released a new version for about the
same time.

The patch for this bug can be found at
http://lists.gnu.org/archive/html/grep-commit/2004-11/msg00095.html. I'd
appreciate it if it could be added to the Gentoo ebuild for grep 2.5.1.


Reproducible: Always
Steps to Reproduce:
1. mkfifo fifo
2. grep -D skip pattern fifo
3.

Actual Results:  
grep tries to open the FIFO and blocks.

Expected Results:  
grep should identify the file as FIFO and skip it (as described in the man page).
Comment 1 SpanKY gentoo-dev 2005-11-26 12:09:12 UTC
thanks, added to grep-2.5.1-r9