[CFT+BRAINSTORM] One USE_ to rule them all

Alberto Villa avilla at freebsd.org
Thu Feb 7 08:55:16 UTC 2013


On Thursday 07 February 2013 06:32:54 Armin Pirkovitsch wrote:
> # find /usr/ports -name Makefile | xargs grep -R FEATURES | wc -l
>       82
> # find /usr/ports -name Makefile | xargs grep -R USES | wc -l
>       20
> 
> Sounds to me like there are less false positives for USES.

Add -w and USES wins:
$ find /usr/ports -name Makefile | xargs grep -Rw FEATURES | wc -l
      37
$ find /usr/ports -name Makefile | xargs grep -Rw USES | wc -l
       0
-- 
Alberto Villa, FreeBSD committer <avilla at FreeBSD.org>
http://people.FreeBSD.org/~avilla

	"Hawk, we're going to die."
	"Never say die... and certainly never say we."
		-- M*A*S*H
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 314 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20130207/f9ad17ca/attachment.sig>


More information about the freebsd-ports mailing list