tech-misc archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: NXR search for literal string "sizeof(*"
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.
kre
Home |
Main Index |
Thread Index |
Old Index