X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; q=dns; s=default; b=uy 6Ivj4ZhUspzKpuVEJnLvQ9IJoUtcvublnMRiBSXaIbThihGQAjxCUY3GJTm7GKnQ uxWCul1VX6nFQimRCf6c7SmF3X7+9GzbFSQaJUM+da0O3mFy8FL8cCsdhI5HQQ7D FO1zWhfPUj/4wp9TqDCHa9WMSmmvB0ATjh1eT3jhw= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; s=default; bh=0iQqIFPn GgJvfTOrEyUQZTHf9fs=; b=OZ2iPBz0AnoLqPBTpq4MT1t28iPapHmXUoz9cxBl ORQDDD7Gk0eSTQRgZMHQtukbWISLDS9UpArz2aNfzyx/YvH+4zufv4sijv7WPTyo jQ4N6JF47+LCmGMFLw3Yna1qhLUb8qpBvRxNCpVnhzcQC14RMxwfb2TTOEHyqFeE imw= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: <cygwin.cygwin.com> List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com> List-Archive: <http://sourceware.org/ml/cygwin/> List-Post: <mailto:cygwin AT cygwin DOT com> List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,RDNS_NONE,SPF_PASS autolearn=ham version=3.3.1 MIME-Version: 1.0 X-Received: by 10.224.53.196 with SMTP id n4mr8274468qag.104.1376002661834; Thu, 08 Aug 2013 15:57:41 -0700 (PDT) In-Reply-To: <5203D810.4080008@cs.umass.edu> References: <5203A1A3 DOT 30200 AT cs DOT utoronto DOT ca> <20130808153250 DOT GN16868 AT calimero DOT vinschen DOT de> <20130808154842 DOT GQ16868 AT calimero DOT vinschen DOT de> <5203D810 DOT 4080008 AT cs DOT umass DOT edu> Date: Thu, 8 Aug 2013 18:57:41 -0400 Message-ID: <CA+sc5m=FXA3w69G3OJzxJ3y0VX7CcjJfppSS+CKeiU2wg8xKJA@mail.gmail.com> Subject: Re: Redirecting cat and paste to file gives garbage From: Earnie Boyd <earnie AT users DOT sourceforge DOT net> To: moss AT cs DOT umass DOT edu, cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 On Thu, Aug 8, 2013 at 1:40 PM, Eliot Moss wrote: > Indeed, I generally try to redirect my cat > away from ANY paste! Name your cat doc and then just call to it like cat <<heredoc food heredoc -- Earnie -- https://sites.google.com/site/earnieboyd -- 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