Date: Thu, 7 Feb 2013 10:52:01 +0100
        From: Baptiste Daroussin <b...@freebsd.org>
        To: Alberto Villa <avi...@freebsd.org>
        Subject: Re: [CFT+BRAINSTORM] One USE_ to rule them all

        On Thu, Feb 07, 2013 at 09:54:59AM +0100, Alberto Villa wrote:
        > 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
        > >=20
        > > Sounds to me like there are less false positives for USES.
        >=20
        > 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

Is "-R" really needed in this case?
I think there is no recursion as you
already found all files. Anyway,
I get the same answers with no "-R".

Anton

P.S. I'm not trying to be clever,
just always fascinated by multi-pipe
unix examples, so I try to study those
in detail.
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to