81191eeb58
echo xxx | grep -D skip xxx returns nothing. Instead of just removing added S_ISFIFO condition (originally absent in this version of grep), make it work as latest GNU version does: don't skip directories and devices if fd == STDIN_FILENO. |
||
---|---|---|
.. | ||
doc | ||
tests | ||
AUTHORS | ||
ChangeLog | ||
closeout.c | ||
closeout.h | ||
config.h | ||
COPYING | ||
dfa.c | ||
dfa.h | ||
error.c | ||
error.h | ||
exclude.c | ||
exclude.h | ||
FREEBSD-upgrade | ||
getpagesize.h | ||
grep.1 | ||
grep.c | ||
grep.h | ||
grepmat.c | ||
hard-locale.c | ||
hard-locale.h | ||
isdir.c | ||
kwset.c | ||
kwset.h | ||
Makefile | ||
NEWS | ||
obstack.c | ||
obstack.h | ||
quotearg.c | ||
quotearg.h | ||
README | ||
savedir.c | ||
savedir.h | ||
search.c | ||
system.h | ||
THANKS | ||
xalloc.h | ||
xmalloc.c | ||
xstrtol.c | ||
xstrtol.h | ||
xstrtoumax.c |
This is GNU grep, the "fastest grep in the west" (we hope). All bugs reported in previous releases have been fixed. Many exciting new bugs have probably been introduced in this revision. GNU grep is provided "as is" with no warranty. The exact terms under which you may use and (re)distribute this program are detailed in the GNU General Public License, in the file COPYING. GNU grep is based on a fast lazy-state deterministic matcher (about twice as fast as stock Unix egrep) hybridized with a Boyer-Moore-Gosper search for a fixed string that eliminates impossible text from being considered by the full regexp matcher without necessarily having to look at every character. The result is typically many times faster than Unix grep or egrep. (Regular expressions containing backreferencing will run more slowly, however.) See the files AUTHORS and THANKS for a list of authors and other contributors. See the file INSTALL for compilation and installation instructions. See the file NEWS for a description of major changes in this release. See the file TODO for ideas on how you could help us improve grep. Send bug reports to bug-gnu-utils@gnu.org. Be sure to include the word "grep" in your Subject: header field.