This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]