Re: [NEWBIE]

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

 



On Thu Sep 10 00:48:33 EDT 2009, erkrishna@xxxxxxxxx wrote:

> ED,
> 
> Can you just tell how to use this script for searching efficiently. I tried
> like :
> 
> 
> script.sh task_struct.
> 
> Anything more if you want to add in this.

That's it, but the script runs "find .", etc., meaning that it
searches in the current working directory.

So usage would be,

ecashin@meili:~$ cd ~/kernel/git/linux-2.6/include/
ecashin@meili:~/kernel/git/linux-2.6/include$ kern-grep-find set_notify_resume
./linux/tracehook.h:544: * set_notify_resume - cause tracehook_notify_resume() to be called
./linux/tracehook.h:552:static inline void set_notify_resume(struct task_struct *task)
ecashin@meili:~/kernel/git/linux-2.6/include$ 

I use it inside of emacs, from dired, as the command for the grep-find
function, so I get some extra conveniences.  But emacs isn't needed.

-- 
  Ed

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux