|
|||||||||||
|
Re: Search for string in files
From: Neil Gunton <neil(at)nilspace.com>
Date: Sat Aug 25 2007 - 18:37:05 EDT
I wrote a perl script that does this (and other stuff) - it's called 'deep' and available on my website: http://www.neilgunton.com/doc/deep In your example, you'd just do this: shell> deep find 'a_certain_function' And it tells you the file and line numbers where the matches were found. As the name implies, the script recurses on directories automatically. There are other features like replace, delete, do (cmd), etc. /Neil -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.orgReceived on Sat Aug 25 18:38:19 2007 This archive was generated by hypermail 2.1.8 : Sun Oct 07 2007 - 02:56:22 EDT |
||||||||||
|
|||||||||||