automate input

2007-08-09 Thread ruby0954
trac-admin is an interactive script. most its default answers are fine. I would like to have my script to hit the enter key for me. $'\r' is not working as the enter key. thanks. my script ... trac-admin $tracRoot/$projectName initenv << CONFIRM $'\r' $'\r' $svnRoot/$projectName $'\r' CONFIRM .

Re: I can't get bash-3.2.17 to process startup/login scripts to save me, please help!

2007-08-09 Thread SciFi
Hi and thank you for taking time. On Wed, 08 Aug 2007 21:33:44 -0600, Bob Proulx wrote: > > SciFi wrote: >> Got bash-3.2 patchlevel 17 running on MacOSX in place of Apple's: > > Is this a self-compiled binary? Yes, I do not use pkg-mgrs such as fink or macports, maybe only for clues when a reg

Re: automate input

2007-08-09 Thread Chris F.A. Johnson
On 2007-08-08, ruby0954 wrote: > > trac-admin is an interactive script. most its default answers are fine. I > would like to have my script to hit the enter key for me. $'\r' is not > working as the enter key. thanks. > > my script > ... > trac-admin $tracRoot/$projectName initenv << CONFIRM > $'

Re: automate input

2007-08-09 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to ruby0954 on 8/8/2007 4:12 PM: > trac-admin is an interactive script. most its default answers are fine. I > would like to have my script to hit the enter key for me. $'\r' is not > working as the enter key. thanks. That's because the en