bug-grep
[Top][All Lists]
Advanced

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

bug#23991: -H if nfiles>1: effect on find -exec/-execdir grep


From: Paul Eggert
Subject: bug#23991: -H if nfiles>1: effect on find -exec/-execdir grep
Date: Fri, 15 Jul 2016 11:44:46 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Thunderbird/38.8.0

This is not a bug, as grep has behaved that way for decades, this behavior is standardized by POSIX, and changing the behavior would cause more trouble than it would cure. To get the behavior you want, use 'grep -H' or 'grep ... /dev/null' as discussed in the grep manual (see node Usage).





reply via email to

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