My own "grep" command ?

<[email protected]> Fri, 13 Feb 2004 12:03:01 +0100
Newsgroups gmane.emacs.xemacs.general
Message-ID <16428.44773.169929.399210@stroetmannpc.informatik.ba-stuttgart.de>
Hi,

In order to locate a function, use the command "find-function". This
command prompts for the name of a function and locates it. In the case
of grep, you will find that the source code is in the file
"compile.el".

Regards,
Karl

[email protected] writes:
> Hello,
> 
> I wanted to mage my own "grep" command. Instead of
> 
> "Run grep (like this): grep -n ..."
> 
> I would like to grep through subdirs:
> 
> "Run grep (like this): find . -type f -exec grep -Hn {} \;"
> 
> To do this, I wantet to have a look at the grep lisp-sourcecode, but I 
> don't know where it is. Can you help me (or do you allready have such a 
> function) ?
> 
> 
> BTW: Is there a way to stop a long running grep ?
> 
> TIA,
> Markus Grunwald
> Softwareentwicklung
> 
> PRÜFTECHNIK Condition Monitoring GmbH
> Oskar-Messter-Straße 19-21
> 85737 Ismaning
> www.pruftechnik.com
> Tel: +49 (0)89 99616177
> Fax: +49 (0)89 99616200

------------------------------------------------------------------------
Prof. Dr. Karl Stroetmann       http://www.ba-stuttgart.de/stroetmann
Berufsakademie Stuttgart
Tel.:                           0711/6673 4504
Mobile:                         0179/53 23 381