View Single Post
  #4   (View Single Post)  
Old 16th April 2009
bsdnewbie999 bsdnewbie999 is offline
Package Pilot
 
Join Date: May 2008
Posts: 145
Default

I know what's the problem now. I have another question.
Code:
#!/bin/ksh
#
OPT1='zenity --entry --text="Please input the host IP:" --title "input IP address:'
The code above does not prompt the zenity window as I put the input ip address value to OPT1. How do I make it prompt the window while save the input value to OPT1 ?

Problem solved. I substitute OPT1=$()

Last edited by bsdnewbie999; 16th April 2009 at 06:31 AM. Reason: solved
Reply With Quote