hi,
I am creating an script with Xdialog.
The checklist option is confusing me a litte.
Can someone tell me how to save the checklist states so they can be used in a script?
As an example:
Code:
Xdialog --checklist "Choose toppings:" 10 40 3 \
1 Cheese on \
2 "Tomato Sauce" on \
3 Anchovies off
I would then like to put these values through if/else statements to perform different things with respect to the user selection.
I have a feeling this involves arrays somewere....
Thanks