X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Mail-Followup-To: cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com From: Gary Subject: bash script + heredoc + tftp = bash ends unexpectedly Date: Tue, 26 Oct 2010 09:46:43 +0200 Lines: 20 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (cygwin) X-No-Archive: Yes Mail-Copies-To: never X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 <