From: Linus Torvalds Date: Tue, 13 Sep 2005 19:09:25 GMT Subject: Re: [PATCH] Improve "git grep" flags handling Message-ID: In-Reply-To: <7v8xy03ilk.fsf@assigned-by-dhcp.cox.net> 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