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

[bash-completion] syntax error near unexpected token '<' on line 123 in bash_completion.d/git

From
solsTiCe d'Hiver <solstice.dhiver@gmail.com>
Date
Jul 25, 2010, 11:12 UTC
Message-ID
<1280056320.7883.9.camel@soho.example.org>

hello, I want to report a tiny "bug" (?) and I couldn't find a bug tracker so here I am

When I boot my pc, I got an error on my console before gdm kick in to launch gnome.

This is an error in /etc/bash_completion.d/git; it says syntax error near unexpected token '<' on line 123

I use git 1.7.2 and bash 4.1.007 and the line 123 of /etc/bash_completion.d/git looks like this

	done < <(git config -z --get-regexp '^(svn-remote\..*\.url|bash
\.showupstream)$' 2>/dev/null | tr '\0\n' '\n ')
I think that may be there is too much < there.

but strangely if I source manually that file in a bash it works without error.

originally reported there: http://bugs.archlinux.org/task/20264
P.S.: I have not subscribed to the ML.
Next: Ævar Arnfjörð Bjarmason
Message 1 of 7 in “[bash-completion] syntax error near unexpected token '<' on line 123 in bash_completion.d/git”
  1. solsTiCe d'HiverJul 25, 2010
  2. Ævar Arnfjörð BjarmasonJul 25, 2010
  3. Andrew SayersJul 25, 2010
  4. solsTiCe d'HiverJul 25, 2010
  5. Andrew SayersJul 26, 2010
  6. solsTiCe d'HiverJul 27, 2010
  7. solsTiCe d'HiverJul 27, 2010

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.