View Single Post
  #5   (View Single Post)  
Old 16th April 2009
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,546
Default

Code:
OPT1=`zenity --entry --text="Please input the host IP:" --title "input IP address:"`
or

Code:
OPT1=$(zenity --entry --text="Please input the host IP:" --title "input IP address:")
It's all about the quotes ;-)
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote