zsh-users
 help / color / mirror / code / Atom feed
From: "Heinrich Götzger" <goetzger@gmx.net>
To: Bart Schaefer <schaefer@candle.brasslantern.com>
Cc: <zsh-users@sunsite.auc.dk>
Subject: Re: Problems running  echo -e in a variable
Date: Wed, 14 Feb 2001 22:26:29 +0100 (MET)	[thread overview]
Message-ID: <Pine.LNX.4.33.0102142222330.937-100000@exploding.fh-konstanz.de> (raw)
In-Reply-To: <010214124529.ZM1493@candle.brasslantern.com>

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


  reply	other threads:[~2001-02-14 21:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-14 20:00 Heinrich Götzger
2001-02-14 20:45 ` Bart Schaefer
2001-02-14 21:26   ` Heinrich Götzger [this message]
2001-02-14 21:59 ` Thomas Köhler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.33.0102142222330.937-100000@exploding.fh-konstanz.de \
    --to=goetzger@gmx.net \
    --cc=schaefer@candle.brasslantern.com \
    --cc=zsh-users@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).