bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

automate input


From: ruby0954
Subject: automate input
Date: Wed, 8 Aug 2007 15:12:45 -0700 (PDT)

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
...
-- 
View this message in context: 
http://www.nabble.com/automate-input-tf4239374.html#a12062890
Sent from the Gnu - Bash mailing list archive at Nabble.com.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]