[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: looking for define and typdefs in includes?



Title: RE: looking for define and typdefs in includes?

try:
grep -r "#define key_t" *
You may need to escape the # with a \ so that it would look like:
grep -r "\#define key_t" *

I think one of these will work.

> -----Original Message-----
> From: Mike K. [mailto:karmindr one net]
> Sent: Friday, November 09, 2001 2:07 PM
> To: redhat-install-list redhat com
> Subject: looking for define and typdefs in includes?
>
>
> what's the easiest way to track down a typedef or a #define
> in linux header
> files?  right now I am currently going into usr/include and doing a:
>
> grep -r key_t *
>
> but this usually gives me too much information.  how do you
> search for a
> phrase such as "#define key_t" or "typedef .... key_t" using
> grep?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]