In a script I'm writing, it writes to the file /tmp/dlgmenu:

hda "Auto-partition drive /dev/hda"

but in the script when I do:

dialog --menu 12 50 8 `cat /tmp/dlgmenu` 2> /tmp/menuoption

It creates 2 menu items. The first one ends at 'partition' and the 2nd one starts at 'drive'. But when I manually do:

dialog --menu 12 50 8 hda "Auto-partition drive /dev/hda" 2> /tmp/menuoption

it works just fine. Anyone have any idea what's going on?

--
Andrew Gaffney


-- [EMAIL PROTECTED] mailing list



Reply via email to