[techtalk] whiptail and Strin problem

Michelle Konzack starone at cybercable.fr
Wed Apr 12 19:19:26 EST 2000


Hi again,

How can I make Quotes in a String ???

I have the Problem in

whiptail --title "$Titel" --checklist "$Text" 15 40 7 [ tag item status ]
                                                      ^^^^^^^^^^^^^^^^^^^

Now I like to write every Item in a Variable like:

Item1="0 Midnight Commander  off "
Item2="1 Support pour souris off "
Item3="2 Tools pour Dos      off "

Items=$Item1$Item2$Item3

...
It does not work, because:

--checklist "$Text" 15 40 7 0 "Midnight Commander" off 
                              ^                  ^
                              |                  |
                             here must be Quotes !!

I am lost !!!

Who can Help ???

Michelle

-- 
Linux rebootet man in drei Fällen: 
Neuer Kernel, neue (Board-)Hardware, Stromausfall....

Aber Windows rebootet man auch in drei Fällen: 
Schutzverletzung, Bluescreen, keinen Bock...






More information about the Techtalk mailing list