git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] git-grep: convert from bash to sh

From
Linus Torvalds <torvalds@osdl.org>
Date
Dec 18, 2005, 19:57 UTC
Message-ID
<Pine.LNX.4.64.0512181155360.4827@g5.osdl.org>
In-Reply-To
<20051218152639.5c14bc26.tihirvon@gmail.com>
On Sun, 18 Dec 2005, Timo Hirvonen wrote:
> 
> sh does not support arrays so we have to use eval instead.
This seems horribly broken.
If I'm not mistaken, this breaks
	git grep "it's a happy coincidence"
badly. I didn't test, just looking at the patch.
Dammit, I'd rather depend on "bash"/"ksh" than have a broken "git grep".
Tell people to get a real shell.
		Linus
Previous: Junio C HamanoNext: Timo Hirvonen
Message 4 of 5 in “git-grep: convert from bash to sh”
  1. git-grep: convert from bash to shTimo Hirvonen, Dec 18, 2005
  2. Petr BaudisDec 18, 2005
  3. Junio C HamanoDec 18, 2005
  4. Linus TorvaldsDec 18, 2005
  5. Timo HirvonenDec 18, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.