On 12/29/19 11:10 AM, Stephane Chazelas wrote: > Note that that wording makes it unclear what the exit status > should be if -o is in use. It seems reasonably clear that a line would be selected if any part of it is selected. Anyway, that text is exactly the same as before, so rewordsmithing it could be a different thread. > It should be > > grep -n -- 'f.*\.c$' *g*.h /dev/null Thanks, done in the attached patch. > (why not using -H instead of /dev/null btw?). I wanted the example to be portable.