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