From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Khamis Abuelkomboz (UUNET)" To: Mo DeJong Cc: sourcenav@sourceware.cygnus.com Subject: Re: snav:History-->grep Date: Tue, 10 Apr 2001 23:45:00 -0000 Message-id: <3AD3FD4F.80102@knuut.de> References: X-SW-Source: 2001-q2/msg00084.html I join Subrata in the case, that storing the grep history was very usefull, especially when you are having a large project. One grep is usually enough to get back to results at later time. It's even the decide of the user to make a new grep, when he believes that the grep was no longer valid. Another case how I used grep history is to look what I greped before and if I made changes correct! Mo, I Agree with you that storing grep history took a big place, however I would limit storing history entries up to as example 100 entries. khamis Mo DeJong wrote: > On Tue, 10 Apr 2001, Subrata Datta wrote: > > >> Thanks for the info. Removing grep cache is a little too far shot >> in my humble opinion. It would have been nice to have this feature >> as option. >> >> regards, >> SD > > > Well, you are welcome to add it back in for your own version. > There are some real problems with storing the entire output > of grep in the project file, so be warned. Also, the code > that managed the grep history and pushing and popping of the > grep results is quite nasty. There is a hack in there that > was meant to keep it working with 4.5 generated project > files (it just ignored grep results in the history and > automatically reran the grep). My question is, why > do you need that feature? > > Mo DeJong > Red Hat Inc