bug-gnulib
[Top][All Lists]
Advanced

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

Re: [PATCH v2 0/2] Fix syntax-check on macOS/FreeBSD


From: Roman Bolshakov
Subject: Re: [PATCH v2 0/2] Fix syntax-check on macOS/FreeBSD
Date: Wed, 12 Dec 2018 18:41:45 +0300
User-agent: NeoMutt/20180716

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

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