I'm trying to get certain variables from a zenity script.
I have a code below.
Code:
#!/bin/sh
hello=$(zenity --list --checklist --title "Testing checkbox." --text "Checkbox test." --column "" --column "Nice" False 1st False 2nd False 3rd False 4th False 5th)
If someone picks 1st and 3rd lets say. Then $hello echo's 1st|3rd
How do I create a variable for 1st and one for 3rd? I kinda want to split up that so I can run multiple scripts for each checkbox.
Thanks,
Klesla