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

Re: [PATCH] Use backticks instead of $(command) to maintain /bin/sh compatibility

From
MWMorten Welinder <mwelinder@gmail.com>
Date
May 7, 2005, 20:22 UTC
Message-ID
<118833cc0505071322480e8e09@mail.gmail.com>
In-Reply-To
<20050507172429.GJ3562@admingilde.org>
On 5/7/05, Martin Waitz <tali@admingilde.org> wrote:
Show 10 quoted lines
> hoi :)
> 
> On Sat, May 07, 2005 at 11:05:43AM +0200, Thomas Glanzmann wrote:
> > * Junio C Hamano <junkio@cox.net> [050507 10:54]:
> > > A quick question.  Which construct in this bashism?
> > > Not using backtick but saying $(command)?
> >
> > Exactly:
> 
> huh? which broken shell does not understand $()?
Solaris' /bin/sh
I thought everything we were relying on bash anyway.  It'll take it.
Morten
Previous: Martin WaitzNext: Thomas Glanzmann
Message 9 of 11 in “: git-merge-one-file-script use /usr/bin/env to call bash”
  1. : git-merge-one-file-script use /usr/bin/env to call bashThomas Glanzmann, May 7, 2005
  2. Junio C HamanoMay 7, 2005
  3. Use backticks instead of $(command) to maintain /bin/sh compatibilityThomas Glanzmann, May 7, 2005
  4. bert hubertMay 7, 2005
  5. Thomas GlanzmannMay 7, 2005
  6. Junio C HamanoMay 7, 2005
  7. Thomas GlanzmannMay 7, 2005
  8. Martin WaitzMay 7, 2005
  9. Morten WelinderMay 7, 2005
  10. Thomas GlanzmannMay 7, 2005
  11. H. Peter AnvinMay 9, 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.