Package: dialog
Version: 1.1-20120215-1
Severity: normal

Given this commandline:

    dialog --stdout --single-quoted --checklist 'select' 22 70 14 a-1 a-1 1 a-2
a-2 1

choosing options gives a result like

    'a-1' 'a-2'

which is broken, because the man page says

    --single-quoted
    Use single-quoting as needed (and no quotes if unneeded)


dialog=1.1-20100428-1 (lenny) does this correct; it gives

    a-1 a-2


The extra level of quotes means that
    VER=`dialog ...`
    case $VER in
        a-1)

etc. doesn't work anymore.



-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dialog depends on:
ii  debianutils   4.2.1
ii  libc6         2.13-27
ii  libncursesw5  5.9-4
ii  libtinfo5     5.9-4

dialog recommends no packages.

dialog suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to