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

Shriramana Sharma 1312243 at bugs.launchpad.net
Thu Apr 24 15:23:56 UTC 2014


Public bug reported:

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!

** Affects: bash-completion (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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:
  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