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

Re: [PATCH] Improve "git grep" flags handling

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


On Tue, 13 Sep 2005, Junio C Hamano wrote:
I heard somebody say the shell arrays actually came from Korn,
so /bin/bash is a wrong thing to do if that is the case.
Me. 

There are differences in indexing the arrays between ksh and bash, but I
think the git-grep.sh style of usage should work on both bash and ksh.

[ goes off and tests ]

Indeed. I just tested the thing I sent out with "ksh git-grep.sh .." and 
it worked fine.

Using "zsh" the grep flags don't work, and "tcsh" obviously will never run
_any_ valid shell code ;)

		Linus
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help