[techtalk] whiptail and String problem
Jeff Dike
jdike at karaya.com
Wed Apr 12 18:37:23 EST 2000
> Item1="0 \"Midnight Commander\" off "
> Item2="1 \"Mouse support\" off "
> Item3="2 \"Dos-Tools\" off "
> Items=$Item1$Item2$Item3
> whiptail --title "$Titel" --checklist "$Text" 15 40 10 "$Items"
The quotes around "$Items" is forcing the $Item1$Item2$Item3 to be a single
argument, whereas you want it to be eight or so.
Turn "$Items" into $Items and it should work better.
Jeff
More information about the Techtalk
mailing list