unexpected EOF while looking for matching `"' in rsync tab completion

Bug #772571 reported by David R. Hedges
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bash-completion (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: bash-completion

When typing something like:

rsync -avhP eleven:"~/dixon/etc/foo" /et

in bash and then pressing tab, the following errors appear:

bash: unexpected EOF while looking for matching `"'
bash: syntax error: unexpected end of file

------
This is a fresh install of natty i386, and has been confirmed by one other person. For what it's worth, if quotes are not used, the error is not exhibited.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: bash-completion 1:1.3-1ubuntu3
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic i686
Architecture: i386
Date: Thu Apr 28 13:04:57 2011
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110426)
PackageArchitecture: all
ProcEnviron:
 LC_TIME=en_DK.utf8
 LANGUAGE=en_US:en
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: bash-completion
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

Revision history for this message
David R. Hedges (p14nd4) wrote :
Revision history for this message
Daniel Black (daniel-black) wrote :

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

scp eleveln:/etc/hosts /etc/[tab]

works

scp eleven:"/etc/hosts" /etc/{TAB}

doesn't work - returns no completion options

scp eleveln:"~//etc/hosts" /et[TAB}

fails with:
bash: unexpected EOF while looking for matching `"'
bash: syntax error: unexpected end of file

Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (5.0 KiB)

This bug was fixed in the package bash-completion - 1:2.0-1ubuntu1

---------------
bash-completion (1:2.0-1ubuntu1) quantal; urgency=low

  * debian/maintscript, debian/postinst:
    - clean etc conffiles on upgrade since completion files are in /usr
      with the new version
  * Resync with Debian, remaining diff
    * debian/patches/disable-avahi-browse.diff: Disable avahi-browse since
      it scales poorly in the current form: refresh patch
    * patches/101_bash_completion.oga_ogv.patch: Increase support for other
      OGG formats including .oga, .ogx, etc. (LP: #311525)
    * patches/103_colormake.patch: Add support for colormake to the make
      completion rules. (LP: #743208)
  * Dropped changes:
    * Add conffile upgrade handling for a run of conffiles that were dropped
      since lucid: lucid upgrades are only supported to precise.
  * Those fixes are in the new version
    * debian/patches/apt-get-changelog.patch:
    * Drop whitelists if they fail to produce any results:
    * patches/apt-get-download.patch: Add download as an apt-get
      sub-command (LP: #720541)
    * patches/102_manpager.patch: Override MANPAGER when generating perldoc
      completions.

bash-completion (1:2.0-1) unstable; urgency=low

  [ David Paleino ]
  * New upstream version
    - Recognise symlinks to directories as directories (Closes: #666055)
    - sudo -e should list filenames instead of commands (Closes: #446355)
    - ri completion: defines function outside _* namespace (Closes: #669178)
    - overrides lyx's bash-completion (Closes: #662203)
    - complete 'apt-get changelog' (Closes: #659395)
    - sudo su {user} -c "sss failing because of quotation (LP: #783136)
    - scp and rsync error on local path completion (LP: #772571)
  * Standards-Version bump to 3.9.3, no changes needed
  * Updated debian/copyright
  * Added Pre-Depends on dpkg because of dpkg-maintscript-helper

  [ Jonathan Nieder ]
  * Replace /etc/bash_completion symlink with a shim script (Closes: #669180)
  * Remove no longer needed symlink-issue patch
  * Remove /etc/bash_completion symlink to make room for shim script
    on upgrade from versions 1:1.99-2 and 1:1.99-3.

bash-completion (1:1.99-3) unstable; urgency=low

  * Fixed issue when loading completions from the /etc/bash_completion
    symlink.

bash-completion (1:1.99-2) unstable; urgency=low

  * Make /etc/bash_completion a symlink to the new location, waiting
    for bash to update its scripts (Closes: #648319)
  * Dropped debian/NEWS
  * Drop references to old triggers-mechanism (Closes: #655286)

bash-completion (1:1.99-1) unstable; urgency=low

  * Uploading to unstable
  * New upstream pre-2.x snapshot
    - correctly list purgeable packages for dpkg --listfiles and dpkg
      --purge (Closes: #647684)
    - fix bash_completion paths in README (Closes: #647941)
    - _known_hosts_real: Handle more than two hostnames per known hosts
      line (Closes: #647352)
    - _known_hosts_real: Support > 1 files per *KnownHostsFile line
      (Closes: #650514)

bash-completion (1:1.90-1) experimental; urgency=low

  * bash-completion 2 preview: dynamic loading of completions
    - optionally fallback to generic file...

Read more...

Changed in bash-completion (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.