From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14525 invoked from network); 14 Feb 2001 21:47:24 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 14 Feb 2001 21:47:24 -0000 Received: (qmail 21614 invoked by alias); 14 Feb 2001 21:47:10 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 3619 Received: (qmail 21603 invoked from network); 14 Feb 2001 21:47:09 -0000 X-Authentication-Warning: exploding.fh-konstanz.de: goetzger owned process doing -bs Date: Wed, 14 Feb 2001 22:26:29 +0100 (MET) From: =?ISO-8859-1?Q?Heinrich_G=F6tzger?= Sender: Reply-To: =?ISO-8859-1?Q?Heinrich_G=F6tzger?= To: Bart Schaefer cc: Subject: Re: Problems running echo -e in a variable In-Reply-To: <010214124529.ZM1493@candle.brasslantern.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Thanks for the quick answer. it works very fine! On Wed, 14 Feb 2001, Bart Schaefer wrote: >If you're using zsh as an interpreter for Bourne shell scripts, then you >should be telling it to "emulate sh", which you can do either by using >the emulate command or by linking zsh to the name "sh" and then running >it by that name. >There's a lot more about this in the FAQ, which is probably in /usr/doc/zsh* >somewhere (I don't recall how SuSE organizes its zsh RPM). just to complete here: SuSE have it in /usr/share/doc/packages/zsh and it is very informative. >> $ ECHO="echo -e" >> $ $ECHO "Hallo Heinrich" >> zsh: command not found: echo -e > >This needs "setopt SH_WORD_SPLIT" which happens for you when emulating sh. Regards Heinrich