Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

[hugo@xxxxxxxxx: Bug#261775: zsh: Space in filenames completion bug for rsync]



----- Forwarded message from Hugo Haas <hugo@xxxxxxxxx> -----

Hi.

Here is the issue.

  hugo@buena ~> rsync foobar:/tmp/a<tab>
  /tmp/a b               /tmp/aaaaaaa
  /tmp/aaa/

With another <tab>:

  hugo@buena ~> rsync foobar:/tmp/a\ b

Finally, running the command:

  hugo@buena ~> rsync foobar:/tmp/a\ b .

I get:

  hugo@buena ~> rsync foobar:/tmp/a\ b .
  receiving file list ...
  link_stat "/tmp/a" failed: No such file or directory
  link_stat "/home/hugo/b" failed: No such file or directory
  0 files to consider
  client: nothing to do: perhaps you need to specify some filenames or the --recursive option?
  rsync error: some files could not be transferred (code 23) at main.c(653)

Backslashes should be "triple-escaped" like the scp completion does.

Regards,

Hugo

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.7
Locale: LANG=C, LC_CTYPE=C (ignored: LC_ALL set to en_US.UTF-8)

Versions of packages zsh depends on:
ii  debconf                     1.4.29       Debian configuration management sy
ii  libc6                       2.3.2.ds1-13 GNU C Library: Shared libraries an
ii  libcap1                     1:1.10-14    support for getting/setting POSIX.
ii  libncurses5                 5.4-4        Shared libraries for terminal hand
ii  passwd                      1:4.0.3-29   Change and administer password and

-- debconf information excluded

-- 
Hugo Haas - http://larve.net/people/hugo/

----- End forwarded message -----



Messages sorted by: Reverse Date, Date, Thread, Author