Your message dated Sun, 15 Jan 2012 15:56:25 +0100
with message-id <87vcodc8va....@ft.bewatermyfriend.org>
and subject line Closing 654444, due to not being a bug
has caused the Debian Bug report #654444,
regarding zsh: `q' flag for paramater expansion does not work as advertised
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
654444: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=654444
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: zsh
Version: 4.3.12-1
Severity: normal

The manual says this about the flag:

,----
| q
|      Quote the resulting words with backslashes; unprintable or invalid
|      characters are quoted using the $'\NNN' form, with separate quotes
|      for each octet.  [...]
`----

Unfortunately, the second clause seems to be only half correct;
unprintable characters do get wrapped in $'...', but not \NNN escaped:

,----
| naesten@hydrogen:~/hacking/crawl/crawl-ref/source% echo -n ${(q)$(echo
| -e "\e")}|hd
| 00000000  24 27 1b 27                                       |$'.'|
| 00000004
`----

Of course, what I'd *really* like would be for this to get escaped as
\e, not \NNN, but I was at least expecting the documented behavior!

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages zsh depends on:
ii  libc6                         2.13-10    Embedded GNU C Library: Shared lib
ii  libcap2                       1:2.16-5   support for getting/setting POSIX.
ii  libncursesw5                  5.9-4      shared libraries for terminal hand

Versions of packages zsh recommends:
ii  libc6                         2.13-10    Embedded GNU C Library: Shared lib
ii  libpcre3                      8.12-3     Perl 5 Compatible Regular Expressi

Versions of packages zsh suggests:
ii  zsh-doc                       4.3.10-14  zsh documentation - info/HTML form

-- Configuration Files:
/etc/zsh/zlogin changed:

/etc/zsh/zlogout changed:

/etc/zsh/zprofile changed:


-- debconf information:
* zsh/rcmove:

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!



--- End Message ---
--- Begin Message ---
Dear BTS,

I'm closing this bug, as it is not really a bug, but expected behaviour,
as described in the short conversation with the original reporter¹.

Regards, Frank

¹ <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=654444>


--- End Message ---

Reply via email to