Thank you Dimitri. It was my bin bash that cuased it to not work. I was not aware that I did not have to include that. Once I fixed that and put things back. it worked.
Thank you Dmitry Semyonov-2 wrote: > > On Tue, Jan 13, 2009 at 22:16, blazt wrote: > >> I created the script based on yours but it never sends the expect back to >> the program. >> >> #!/bin/bash > > This line was not included into my sample. I doubt it can work this way. > >> #!./expect -f > > Why the dot-slash? Do you have expect executable in your local > directory? Have you compiled it by yourself? > 'expect' package could be installed through Cygwin setup. You should > use this method instead. > > [...] > >> I took out the exec so I could see the script run and it simply hangs at >> the >> first query where it asks to overwrite existing files. Is there anything >> else I need to do to get this to work with cygwin? > > If you don't have enough experience don't make unnecessary changes or > add your bits before ensuring that the provided sample works. Read the > man. Experiment with simple things. > > -- > ...Bye..Dmitry. > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Problem reports: http://cygwin.com/problems.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > > > -- View this message in context: http://www.nabble.com/automate-SSH-HOST-CONFIG-tp21383170p21490305.html Sent from the Cygwin list mailing list archive at Nabble.com. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/