Public bug reported:
Binary package hint: zenity
# zenity crashes while trying to print text that includes an ampersand
(&)
Using zenity --info --text to print an expression containing any
combination of chars, numbers or symbols usually works well. If we
insert an ampersand (&) symbol anywhere in that expression, zenity
starts to do strange things.
Running the following bash script will make the bug self evident:
#!/bin/bash
zenity --info --text "this will be printed"
zenity --info --text "&this will not be printed"
zenity --info --text "this will & not be printed"
zenity --info --text "this will not be printed&"
System Info:
# lsb_release -rd
Description: Ubuntu 8.04.1
Release: 8.04
# apt-cache policy zenity
zenity:
Installed: 2.22.1-1
Candidate: 2.22.1-1
Version table:
*** 2.22.1-1 0
500 http://archive.ubuntu.com hardy/main Packages
100 /var/lib/dpkg/status
** Affects: zenity (Ubuntu)
Importance: Undecided
Status: New
--
zenity crashes while trying to print text that includes an ampersand (&)
https://bugs.launchpad.net/bugs/255410
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to zenity in ubuntu.
--
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs