Package: bash
Version: 3.0-12
Severity: minor

Commands echoed injob control messages are not properly escaped.

To illustrate, try this in an xterm/rxvt:

   (: "^[[31m") &
       ^^ replace this by ctrl-v escape
          to insert a _verbatim_ escape character,
          i.e. <ctrl-v> <escape> '[' '3' etc.

You'll get something similar to this:

   cerebro ~# (: "^[[31m") &
   [1] 7305
   [1]   Done                    ( : "" )
   cerebro ~# 

except that the text is red starting with the last '"' character, in
the "Done" message, as the escape [31m command sequence has been output
verbatim to the terminal, instead of quoting it as when inputting it.

The output of the jobs builtin and other messages are also affected.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.14
Locale: LANG=C, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages bash depends on:
ii  base-files                    3.1.9      Debian base system miscellaneous f
hi  libc6                         2.3.5-8.1  GNU C Library: Shared libraries an
ii  passwd                        1:4.0.13-7 change and administer password and

bash recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to