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

Re: [PATCH] git-rebase.sh: Use POSIX/Susv command substitution instead of backticks

From
RWRalf Wildenhues <ralf.wildenhues@gmx.de>
Date
Feb 6, 2008, 09:23 UTC
Message-ID
<loom.20080206T092136-104@post.gmane.org>
In-Reply-To
<alpine.LSU.1.00.0802052305080.8543@racer.site>
Johannes Schindelin <Johannes.Schindelin <at> gmx.de> writes:
> > > On Wed, 6 Feb 2008, Jari Aalto wrote:
> > >
> > >> Use redable $(<command>) syntax instead of backtics in code.  See The 
> > >> Open Group Base Specifications Issue 6, IEEE Std 1003.1, 2004 Edition
> And then you have to do it for all scripts in one go.  Mind you, it is not 
> really complicated: just one call to perl.

You still have to check all backslashes within the changed command; some you may now have to remove.

Cheers, Ralf

Previous: Junio C Hamano
Message 7 of 7 in “git-rebase.sh: Use POSIX/Susv command substitution instead of backticks”
  1. git-rebase.sh: Use POSIX/Susv command substitution instead of backticksJari Aalto, Feb 5, 2008
  2. Johannes SchindelinFeb 5, 2008
  3. Jari AaltoFeb 5, 2008
  4. Johannes SchindelinFeb 5, 2008
  5. Junio C HamanoFeb 6, 2008
  6. Junio C HamanoFeb 6, 2008
  7. Ralf WildenhuesFeb 6, 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.