Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Problems running echo -e in a variable
- X-seq: zsh-users 3619
- From: Heinrich Götzger <goetzger@xxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- Subject: Re: Problems running echo -e in a variable
- Date: Wed, 14 Feb 2001 22:26:29 +0100 (MET)
- Cc: <zsh-users@xxxxxxxxxxxxxx>
- In-reply-to: <010214124529.ZM1493@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Reply-to: Heinrich Götzger <goetzger@xxxxxxx>
- Sender: <goetzger@xxxxxxxxxxxxxxxxxxxxxxxx>
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author