[Bug 1312243] Re: Bash completion within $( fails in Trusty

Peter Cordes peter at cordes.ca
Sat Nov 29 07:01:25 UTC 2014


This is upstream
https://alioth.debian.org/tracker/index.php?func=detail&aid=314667&group_id=100114&atid=413095

Patch submitted there that makes it at least not spew errors, even
though it still doesn't complete args inside $(command substitution).


** Bug watch added: alioth.debian.org/ #314667
   http://alioth.debian.org/support/tracker.php?aid=314667

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bash-completion in Ubuntu.
https://bugs.launchpad.net/bugs/1312243

Title:
  Bash completion within $( fails in Trusty

Status in bash-completion package in Ubuntu:
  Confirmed
Status in bash-completion package in Debian:
  New

Bug description:
  Hello. Please observe the following transcript (only [TAB] has been
  inserted to indicate the position where I hit TAB):

  In Trusty:

  $ cat <<EOF > foo
  > Test
  > EOF
  $ echo $(< foo)
  Test
  $ echo $(< fo[TAB]bash: unexpected EOF while looking for matching `)'
  bash: syntax error: unexpected end of file
  ^C
  $ echo $(cat fo[TAB]bash: unexpected EOF while looking for matching `)'
  bash: syntax error: unexpected end of file

  In Saucy:

  $ cat <<EOF > foo
  > Test
  > EOF
  $ echo $(< foo)
  Test
  $ echo $(< fo[TAB]o^C
  $ echo $(cat fo[TAB]o^C

  Simply put, once I start a command substitution with $( I am not able
  to use the [TAB] completion in Trusty any longer while this was
  working file in Saucy. I hope this can be fixed soon since it really
  hampers use of the command-line. Thanks!

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/1312243/+subscriptions



More information about the foundations-bugs mailing list