I'm creating script that runs commands based on information from a checklist dialog:
dialog --checklist "Choose what you want to install:" 0 0 0 1 mysql on 2 java on 3 git off 2> tempfile
I have the correct data in tempfile
(1
2
), but I don't know how to use this data in future in my script.