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

Re: [PATCH] Remove bashism from t3210-pack-refs.sh

From
Alex Riesen <raa.lkml@gmail.com>
Date
Oct 6, 2006, 13:35 UTC
Message-ID
<81b0412b0610060635n51482e71wab02f9a11be4e619@mail.gmail.com>
In-Reply-To
<20061006091054.15209.35068.stgit@leonov.stosberg.net>
On 10/6/06, Dennis Stosberg <dennis@stosberg.net> wrote:
> -     SHA1=$(< .git/refs/heads/a) &&
> +     SHA1=`cat .git/refs/heads/a` &&
Only "<" (the redirection part) is bashism. The "$()" is POSIX.
Previous: Dennis StosbergNext: Jakub Narebski
Message 2 of 4 in “Remove bashism from t3210-pack-refs.sh”
  1. Remove bashism from t3210-pack-refs.shDennis Stosberg, Oct 6, 2006
  2. Alex RiesenOct 6, 2006
  3. Jakub NarebskiOct 6, 2006
  4. Linus TorvaldsOct 6, 2006

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.