Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Sat, 19 Jul 2003 21:29:36 -0400
From: Samuel Thibault <Samuel.Thibault@ens-lyon.fr>
To: cygwin@cygwin.com
Subject: Re: bash: cat << EOF
Message-ID: <20030720012936.GB4144@bouh.unh.edu>
Reply-To: Samuel Thibault <samuel.thibault@fnac.net>
Mail-Followup-To: cygwin@cygwin.com
References: <20030719013846.GA7108@bouh.unh.edu> <20030719043913.GA15319@redhat.com> <20030719063849.GC7108@bouh.unh.edu> <20030719194807.GB1313@bouh.unh.edu> <20030719203919.GC1313@bouh.unh.edu> <20030719204305.GD1313@bouh.unh.edu> <Pine.LNX.4.53.0307191752540.713@gremlin.fruitbat.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <Pine.LNX.4.53.0307191752540.713@gremlin.fruitbat.org>
User-Agent: Mutt/1.4i-nntp
X-MailScanner-Information: http://pubpages.unh.edu/notes/mailfiltering.html
X-MailScanner: Found to be clean
X-MailScanner-SpamCheck: not spam, SpamAssassin (score=-8.3, required 5,
	BAYES_10, IN_REP_TO, QUOTED_EMAIL_TEXT, REFERENCES,
	REPLY_WITH_QUOTES, USER_AGENT_MUTT)

Le sam 19 jui 2003 17:57:20 GMT, Peter A. Castro a tapoté sur son clavier :
> 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@garfunkel)[105] ~ % vi x
> (Administrator@garfunkel)[106] ~ % cat x
> #!/bin/zsh
> cat << EOF
> foo
> EOF
> (Administrator@garfunkel)[107] ~ % zsh x
> foo
> (Administrator@garfunkel)[108] ~ % chmod a+rx x
> (Administrator@garfunkel)[109] ~ % ./x
> foo

Neither works for us, typing it at a zsh prompt doesn't either. But we
are not Administrator, we only have the access to our "Documents and
Settings", things like c:\temp, and a big samba share.

> This may be a textmode vs binmode thing?

I tested mounting both in text and binmode, no better.

Regards,
Samuel Thibault

--
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/

