Subject: Re: CVS commit: pkgsrc/mk
To: grant beattie <grant@netbsd.org>
From: Thomas Klausner <wiz@NetBSD.org>
List: tech-pkg
Date: 02/20/2005 11:33:27
On Sun, Feb 20, 2005 at 06:02:06AM +0000, grant beattie wrote:
> Modified Files:
> pkgsrc/mk: bsd.pkg.mk
>
> Log Message:
> fix bug introduced in 1.1569: use ${GREP} instead of 'grep' and not
> all grep(1)s support grepping for empty string. `${GREP} .' instead.
That has different behaviour:
# echo | grep ''
# echo $?
0
# echo | grep .
# echo $?
1
Do we care?
Thomas