bash: cat << EOF

Samuel Thibault Samuel.Thibault@ens-lyon.fr
Sun Jul 20 04:51:00 GMT 2003


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/



More information about the Cygwin mailing list