Re: Tool renames? was Re: First stab at glossary
- From
Linus Torvalds <torvalds@osdl.org>
- Date
- Sep 5, 2005, 14:41 UTC
- Message-ID
- <Pine.LNX.4.58.0509050738340.3504@evo.osdl.org>
- In-Reply-To
- <200509050054.j850sC3D023778@laptop11.inf.utfsm.cl>
On Sun, 4 Sep 2005, Horst von Brand wrote:
Show 5 quoted lines
> > I had the same opinion. The counter-argument people raised when > > this topic came up on the list was that it would help grepping > > in the source tree. > > Grepping for what?
Grepping for strings.
For example, when renaming a binary, the sane way to check that you fixed all users right now is
grep old-binary-name *.c *.h *-scripts
and you catch all users.
In contrast, "grep *" will catch totally uninteresting patterns like object files etc.
I personally find that very useful, and I don't see _any_ point to naming by what _kind_ of interpreter you use. Why would _anybody_ care whether something is written in perl vs shell? There's no reason to name things by the interpreter.
Kubys