On Tue, 2005-10-18 at 00:32 -0700, Ian MacGregor wrote: > <snip> > 2) how to capture the o or 1 that zenity --question returns (deternins > whether the user chose "OK" or "Cancel" in the zenity --question > messagebox) and then have a seperate action occur depending on whether > the user chose "OK" or "Cancel". So, I need to learn the proper way to > use the "case" in the if/then statement above. Any ideas on either of these? if zenity --question then echo "true" else echo "false"