In perl, you could send a newline character: \n or the Control-M: \cM But I dunno about shell scripts.
Miark ----- Original Message ----- From: "tek1" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, January 12, 2002 1:43 AM Subject: [newbie] sending carriage return from .sh script > > one of my scripts logs into a cvs site and i want to send a carriage return > as the next command so that i can (automatically) log in anonymously > (return = anonymous login). the script pauses when the cvs site asks for > the password though, and i have to hit return manually. after that though, > the script continues to execute everything else fine. > > any ideas? > > thanks... > > > -------------------------------------------------------------------------------- > Want to buy your Pack or Services from MandrakeSoft? > Go to http://www.mandrakestore.com >
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
