Re: [Ilugc] [ilugc] Passing answers to prompts using bash script

2010-12-14 Thread Mohan L
> Hi, > > What about "getopt" and "getopts"? > Both "getopt" and getopts are tools to use for processing and validating > shell script arguments. > > Here is a C example I posted earlier : > http://www.mail-archive.com/ilugc@ae.iitm.ac.in/msg15441.html > > Sorry, See Mohan R replay to the same thre

Re: [Ilugc] [ilugc] Passing answers to prompts using bash script

2010-12-14 Thread Mohan L
On Sat, Dec 4, 2010 at 8:02 AM, Ashish Verma wrote: > Hi, > > I need to pass answers to a program using bash script. How is it possible. > I > have surfed the net and was able to find the below solutions. However the > problem I am facing is, after the program accepts the first answer, it > doesn

Re: [Ilugc] [ilugc] Passing answers to prompts using bash script

2010-12-13 Thread Ashish Verma
It could be a bug in your bash script. Try running it "bash -x script>" interactively and look for errors. > > > I now downloaded the the tcl and tk packages and tried to install them, > > How are they relevant to your original problem? I suggest you get > your bash fundamentals right before jum