On Tue, Dec 04, 2018 at 01:44:42AM +0100, Bruno Haible wrote:
> Roman Bolshakov wrote:
> > - added /dev/null as an extra file for uniform grep output regardless of
> >   number of files. The file isn't added if grep invocation has "-L" flag
> 
> Good point. And likewise, you don't need to add a /dev/null argument
> when the grep invocation has a '-l' option (because in this case, the
> output of
>   grep -l OPTIONS FILE
> and
>   grep -l OPTIONS /dev/null FILE
> is the same).
> 

Right, -l/-L behave alike and shouldn't need /dev/null.

Thank you,
Roman

Reply via email to