tech-misc archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: NXR search for literal string "sizeof(*"
On Tue, Nov 11, 2014 at 06:08:59PM +0700, Robert Elz wrote:
> Date: Tue, 11 Nov 2014 08:03:03 +0000
> From: David Holland <dholland-tech%netbsd.org@localhost>
> Message-ID: <20141111080303.GA21871%netbsd.org@localhost>
>
> | > $ grep -FR 'sizeof(*' /usr/src
> |
> | % echo 'sizeofboo' | grep 'sizeof(*'
> | sizeofboo
> |
> | I think you mean 'sizeof(\*'.
>
> You didn't give the -F which is the gnuish (and stupid) way of turning
> grep into fgrep (in which * has no special meaning). Had the original
> simply used fgrep, that would have been obvious, of course.
Oops. As others have said before me: that'll teach me to post using a
rented brain.
--
David A. Holland
dholland%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index