This is the mail archive of the
cygwin
mailing list for the Cygwin project.
bash script + heredoc + tftp = bash ends unexpectedly
- From: Gary <cygwin at garydjones dot name>
- To: cygwin at cygwin dot com
- Date: Tue, 26 Oct 2010 09:46:43 +0200
- Subject: bash script + heredoc + tftp = bash ends unexpectedly
I am trying to automate a task I need to do which uses tftp.
What I effectively have (simplest possible case which shows the error)
is:
,----
| #! /bin/sh
|
| echo "hmmmm..."
| tftp <<END
| quit
| END
| echo "DONE!"
`----
The result of which is that I briefly see "hmmmm..." before the script,
terminal (mintty), and bash processes all simply vanish. Now, even if my
script is wrong, that seems... just mean.
GNU bash, version 3.2.51(24)-release (i686-pc-cygwin)
mintty 0.8.3
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple