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

Re: [PATCH] Enhanced auto-discovery of httpd location and call conventions.

From
Jakub Narebski <jnareb@gmail.com>
Date
Jun 12, 2008, 07:52 UTC
Message-ID
<m3r6b3qedj.fsf@localhost.localdomain>
In-Reply-To
<1213235480-21925-1-git-send-email-flavio@polettix.it>
"Flavio Poletti (polettix)" <flavio@polettix.it> writes:
> Another minor change is a substitution of a shell sub-call using "$()"
> by means of backticks. In my understanding, plain /bin/sh does not support
> "$()".
But POSIX shell does.  And git does make use of it rather extensively.
Besides, see Documentation/CodingGuidelines:
  For shell scripts specifically (not exhaustive):
   - We prefer $( ... ) for command substitution; unlike ``, it
     properly nests.  It should have been the way Bourne spelled
     it from day one, but unfortunately isn't.
-- 
Jakub Narebski
Poland
ShadeHawk on #git
Previous: Flavio Poletti (polettix)Next: Flavio Poletti
Message 2 of 5 in “Enhanced auto-discovery of httpd location and call conventions.”
  1. Enhanced auto-discovery of httpd location and call conventions.Flavio Poletti (polettix), Jun 12, 2008
  2. Jakub NarebskiJun 12, 2008
  3. git-instaweb: Enhanced auto-discovery of httpd and call conventions. Removed backticks.Flavio Poletti, Jun 12, 2008
  4. git-instaweb: Enhanced auto-discovery of httpd and call conventions. Removed backticks.Flavio Poletti, Jun 12, 2008
  5. Eric WongJun 13, 2008

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.