On 18/08/15 11:33, Bernhard Voelker wrote:
> On 08/18/2015 04:39 PM, Pádraig Brady wrote:
>> I see that `grep -L` is already used in maint.mk, and is widely
>> available as FreeBSD and OS X use GNU grep or a compat replacement.
>
> Even better!
>
>> Therefore it could be simplified to avoid temp files like:
>>
>> awk ... | xargs grep -L 'Copy...' | grep . && { echo err; exit 1; }
>
> Almost - because if "grep ." fails (because all necessary Copyright notices
> are in place), then the SC rule would fail, too.
>
> Attached v2.
+1
thanks,
Pádraig.