Package: kbd
Version: 1.12-10
Severity: serious
Tags: patch
Justification: Policy 10.4

Hi,
the unicode_start and unicode_stop scripts in kbd use echo -e with
backslash escape sequences. This is not posix-compatible and breaks (by
outputting a spurious "-e ") when /bin/sh is dash.
The simple fix is to use printf.

regards,
        Jan

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-k7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages kbd depends on:
ii  console-common              0.7.49       Basic infrastructure for text cons
ii  debconf                     1.4.30.13    Debian configuration management sy
ii  dpkg                        1.10.27      Package maintenance system for Deb
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  sysvinit                    2.86.ds1-1   System-V like init

-- no debconf information
diff /usr/bin/unicode_start ./unicode_start
41c41
< echo -n -e '\033%G'
---
> printf '\033%%G'
diff /usr/bin/unicode_stop ./unicode_stop
18c18
< echo -n -e '\033%@'
---
> printf '\033%%@'

Reply via email to