Cleaned up and merge other Linux snippit repo
Meged https://git.bprieshof.nl/brammp/linux into ./Linux
This commit is contained in:
4
Linux/Script-examples/Options-AsVar_whiptail.sh
Normal file
4
Linux/Script-examples/Options-AsVar_whiptail.sh
Normal file
@@ -0,0 +1,4 @@
|
||||
args=("Option 1:" "Option 1 Desription" OFF)
|
||||
args+=("Option 2: " "Option 2 Desription" OFF)
|
||||
args+=("Option 3: " "Option 3 Desription" OFF)
|
||||
option=$(whiptail --nocancel --title "Title" --checklist "Features" 11 110 5 "${args[@]}" 3>&1 1>&2 2>&3)
|
||||
Reference in New Issue
Block a user