bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#33972: grep -vf <(<nothing>) filters all rows


From: Paul Eggert
Subject: bug#33972: grep -vf <(<nothing>) filters all rows
Date: Thu, 2 Jan 2020 01:04:21 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2

> I have to pre-check for an empty set before passing it to grep:
> ...
> Workaround:

You're right that the empty pattern matches every line, since every line has an
empty string in it somewhere. This is considered to be a feature of grep, not a
bug. As you have a workaround I'm closing the bug report.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]