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

Re: [PATCH] Fix problematic ']'

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 24, 2007, 02:01 UTC
Message-ID
<7vvecak1aw.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<200707232236.21389.johannes.sixt@telecom.at>
Johannes Sixt <johannes.sixt@telecom.at> writes:
Show 7 quoted lines
> Not all shells grok a closing ']' of the shell '[' command without
> surrounding space.
>
> Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
> ---
>
> I didn't go the long way to change all `[ ... ]` into `test ...`
Maybe that would have been a better idea.
Previous: Timo HirvonenNext: Johannes Schindelin
Message 4 of 5 in “Fix problematic ']'”
  1. Fix problematic ']'Johannes Sixt, Jul 23, 2007
  2. Johannes SchindelinJul 23, 2007
  3. Timo HirvonenJul 23, 2007
  4. Junio C HamanoJul 24, 2007
  5. rebase -i: exchange all "if [ .. ]" by "if test .."Johannes Schindelin, Jul 24, 2007

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.