Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Date: Sat, 19 Jul 2003 17:57:20 -0700 (PDT) From: "Peter A. Castro" To: cygwin AT cygwin DOT com Subject: Re: bash: cat << EOF In-Reply-To: <20030719204305.GD1313@bouh.unh.edu> Message-ID: References: <20030719013846 DOT GA7108 AT bouh DOT unh DOT edu> <20030719043913 DOT GA15319 AT redhat DOT com> <20030719063849 DOT GC7108 AT bouh DOT unh DOT edu> <20030719194807 DOT GB1313 AT bouh DOT unh DOT edu> <20030719203919 DOT GC1313 AT bouh DOT unh DOT edu> <20030719204305 DOT GD1313 AT bouh DOT unh DOT edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by delorie.com id h6K12Ik00982 On Sat, 19 Jul 2003, Samuel Thibault wrote: > Le sam 19 jui 2003 16:39:19 GMT, Samuel Thibault a tapoté sur son clavier : > > btw, with sh.exe, it works. (but many configure scripts require bash > > _and_ <<) > > and zsh doesn't work, but tcsh works. zsh works for me: (Administrator AT garfunkel)[105] ~ % vi x (Administrator AT garfunkel)[106] ~ % cat x #!/bin/zsh cat << EOF foo EOF (Administrator AT garfunkel)[107] ~ % zsh x foo (Administrator AT garfunkel)[108] ~ % chmod a+rx x (Administrator AT garfunkel)[109] ~ % ./x foo This may be a textmode vs binmode thing? > Regards, > Samuel Thibault -- Peter A. Castro or "Cats are just autistic Dogs" -- Dr. Tony Attwood -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/