1.3.9: Bash and Telnet / Redirection / Here documents and Redirecting input problem

2002-02-26 Thread Olivier RONGIER
Hello, I've got a problem with redirection in Cygwin. Here is a script that doesn't work under bash or ash : Begin telnet mail 25 << EOT MAIL FROM: RCPT TO: DATA Subject: Test sending mail with telnet Just a test Olivier . quit EOT End It's ok when I write this directly on a shel

Bash and Telnet / Redirection / Here documents and Redirecting input problem

2002-02-26 Thread Olivier RONGIER
Hello, I've got a problem with redirection in Cygwin. Here is a script that doesn't work under bash or ash : Begin telnet mail 25 << EOT MAIL FROM: RCPT TO: DATA Subject: Test sending mail with telnet Just a test Olivier . quit EOT End It's ok when I write this directly on a shel