Re: [Tinyos-help] Location task structure
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.comwrote: 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
Re: [Tinyos-help] Location task structure
$ grep -nHiR TOSH_sched_entry_t $TOSROOT *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.comwrote: 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 ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Location task structure
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.comwrote: 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
Re: [Tinyos-help] Location task structure
In one of the few improvements ever made to UNIX the -R makes grep recurse through directories. Or so the man page says MS Eric Decker wrote: On Mon, Apr 30, 2012 at 11:19 AM, Maycon Maia Vitali maycon.ppgi.u...@gmail.com mailto: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 http://maycon.hacknroll.com/ Hack'n Roll 2012/4/30 Eric Decker cire...@gmail.com mailto: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 mailto: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 mailto: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 mailto: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 ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Location task structure
On Mon, Apr 30, 2012 at 2:28 PM, Michael Schippling sc...@santafe.eduwrote: In one of the few improvements ever made to UNIX one of the few? the -R makes grep recurse through directories. mea culpea. sigh. should have run man grep prior to replying. thanks for the catch. Or so the man page says MS Eric Decker wrote: On Mon, Apr 30, 2012 at 11:19 AM, Maycon Maia Vitali maycon.ppgi.u...@gmail.com mailto:maycon.ppgi.ufes@**gmail.commaycon.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 http://maycon.hacknroll.com/ Hack'n Roll 2012/4/30 Eric Decker cire...@gmail.com mailto: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 mailto:omkarraikar17@gmail.**comomkarraika...@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.eduTinyos-help@millennium.berkeley.edu mailto:Tinyos-help@**millennium.berkeley.eduTinyos-help@millennium.berkeley.edu https://www.millennium.**berkeley.edu/cgi-bin/mailman/** listinfo/tinyos-helphttps://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.eduTinyos-help@millennium.berkeley.edu mailto:Tinyos-help@**millennium.berkeley.eduTinyos-help@millennium.berkeley.edu https://www.millennium.**berkeley.edu/cgi-bin/mailman/** listinfo/tinyos-helphttps://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.eduTinyos-help@millennium.berkeley.edu https://www.millennium.**berkeley.edu/cgi-bin/mailman/** listinfo/tinyos-helphttps://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