Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
More general zsh-scripting question
- X-seq: zsh-users 8884
- From: Meino Christian Cramer <Meino.Cramer@xxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: More general zsh-scripting question
- Date: Sun, 22 May 2005 07:00:41 +0200 (CEST)
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
Hi,
for several software porjects avaible on the net I regulary update
via cvs.
Most of that projects dont need a password to login into their public
cvs servers. Nonetheless it is tidy when you just wnat to run a
couple of projects to press <RETURN> every time when asked for
login:
I am looking for a method to feed this <RETURN> into the login:
prompt.
For example these two lines are part of a function defined inside a script:
cvs -d:pserver:anonymous@xxxxxxxxxxxxxxxxxxx:/cvsroot/snd login
cvs -z3 -d:pserver:anonymous@xxxxxxxxxxxxxxxxxxx:/cvsroot/snd update -d cvs-snd
index=1
When the second line is executed, the login: prompt stops execution
of the script and waits for the <RETURN>.
Is there a way to automate this ?
Thank you very much for any help in advance! :O)
Have a nice weekend!
Meino
Messages sorted by:
Reverse Date,
Date,
Thread,
Author