On Mon, Apr 30, 2012 at 11:19 AM, Maycon Maia Vitali <
maycon.ppgi.u...@gmail.com> wrote:

$ grep -nHiR TOSH_sched_entry_t $TOSROOT


No that won't work.   grep will only look in the top level of the $TOSROOT
directory.

Using find like I said below will feed every file starting in $TOSROOT to
grep.

eric



>
> ----
> *Maycon Maia Vitali* (aka 0ut0fBound)
> Offensive Security Certified Expert (OSCE)
> Security Researcher @ Hack'n Roll
> http://maycon.hacknroll.com
> Hack'n Roll
>
>
>
> 2012/4/30 Eric Decker <cire...@gmail.com>
>
>>
>> When I'm looking for things in the sources, here is what I use...
>>
>> cd ${TOSROOT}
>> find . -exec grep -nHi <thing I'm looking for> '{}' \;
>>
>>  In your case...
>>
>> find . -exec grep -nHi TOSH_sched_entry_t '{}' \;
>>
>> But when I search the current development sources, that string is not
>> found.
>>
>>
>> Why are you looking for it?   What are you doing?
>>
>>
>> On Mon, Apr 30, 2012 at 7:31 AM, Omkar raiker <omkarraika...@gmail.com>wrote:
>>
>>> please help he in finding the structure defined below in tinyos 2.x
>>> source code..
>>>
>>> typedef struct
>>> {
>>> void (*tp)();
>>>  }TOSH_sched_entry_t;
>>>
>>> regards
>>> Omkar Raikar
>>>
>>> _______________________________________________
>>> Tinyos-help mailing list
>>> Tinyos-help@millennium.berkeley.edu
>>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>>
>>
>>
>>
>> --
>> Eric B. Decker
>> Senior (over 50 :-) Researcher
>>
>>
>>
>> _______________________________________________
>> Tinyos-help mailing list
>> Tinyos-help@millennium.berkeley.edu
>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>
>
>


-- 
Eric B. Decker
Senior (over 50 :-) Researcher
_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to