Re: Funny zenity bug…
J
dreadpiratejeff at gmail.com
Thu Sep 16 20:51:17 UTC 2010
2010/9/16 Johnny Rosenberg <gurus.knugum at gmail.com>:
> Try this (for instance):
>
> zenity --title "Hello\!" --info --text "This is a funny bug\!"
>
> Note that the \ is actually displayed after ”Hello”…
>
> Another strange thing is that ”This is a funny bug\!” is displayed
> correctly, that is without the ”\”.
>
> So I found no way to display a ”!” in the title line of a zenity dialogue.
> Is this a bug or is it just me?
>
>
> If I omit one or both of the ”\” characters, I get the error message
> ”bash: !": event not found”
Not sure if this is a bug with Zenity in the way it takes the bit
after --title and turns it into a window title, or just the weirdness
of BASH and quotation marks.
If I do it with single quotes, everything works fine:
bladernr at klaatu:~$ zenity --title 'Hello!' --info --text 'This is a funny bug\!'
This opens a window that has Hello! in the title bar and This is a
funny bug! in the window pane itself...
More information about the ubuntu-users
mailing list