How to find the definition of a string in /usr/include ?

John Wendel jwendel10 at comcast.net
Sun Nov 4 02:44:08 UTC 2012


On 11/03/2012 07:38 PM, reg at dwf.com wrote:
> How do I find the definition of a string in /usr/include?
>
> OK, there has got to be a better way to do this than with find and
> grep (which isnt working).  BUT how does one find the definition
> of a string in /usr/include ???
>
> In particular, I KNOW that month is defined SOMEWHERE, but Im
> not finding in in the obvious (to me) places.
>
> So how do I find 'Mo' or perhaps better yet 'Mo[' in /usr incude?
>
> Is there a database that contains this information?

cd /usr/include
grep -ri month *

Regards,

John




More information about the users mailing list