Mail Archives: djgpp/1997/10/07/15:31:16
Salvador Eduardo Tropea (SET) wrote:
>
> > grep having some default parameters
> >(like "*.c *.h" or such) for the 1/3 times I forget to put 'em in-
> That isn't implemented, yet.
This can be done by the user. Simply replace the default
spec for running grep which is:
RHIDE_GREP=grep -n $(prompt arguments for GREP,$(WUC))
to something like
RHIDE_GREP=grep -n $(prompt arguments for GREP,$(WUC)) *.[ch]*
If you place the second line in any of the searched rhide.env
files it will overwrite the default one.
BUT: With this spec, the *.[ch]* files are grepped always.
> > or
> >how about having Rhide's search have an option to do an
> >"all-open-windows" search?
> That was there even at this time.
Exact. Use the $(EDITORS) variable in the grep inputline
as filemask.
Robert
--
*****************************************************************
* Robert Hoehne, Fakultaet fuer Mathematik, TU-Chemnitz-Zwickau *
* Post: Am Berg 3, D-09573 Dittmannsdorf *
* e-Mail: Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE *
* WWW: http://www.tu-chemnitz.de/~rho *
*****************************************************************
- Raw text -