Thread (8 messages) flat view 8 messages, 4 authors, 2016-06-15

Re: Tool renames? was Re: First stab at glossary

From: Linus Torvalds <torvalds@osdl.org>
Date: 2016-06-15 22:42:05


On Sun, 4 Sep 2005, Horst von Brand wrote:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help