From: Huy Le <huyle@xeno.ugcs.caltech.edu>
To: zsh-workers@math.gatech.edu
Subject: zsh3.0.0 bug: aliases in if-statement
Date: Tue, 01 Oct 1996 16:51:26 -0700 [thread overview]
Message-ID: <199610012351.QAA09318@envy.ugcs.caltech.edu> (raw)
HP-UX, IRIX, SunOS, ...
unalias a b 2>/dev/null
alias a=cat
if true; then
alias b=cat
works() { echo yes | a }
fails() { echo yes | b }
fi
works2() { echo yes | b }
(Kinda reminiscent of csh for some reason.)
The same applies if you replace the if-statement with a case-statement.
-Huy
next reply other threads:[~1996-10-02 0:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-10-01 23:51 Huy Le [this message]
1996-10-02 0:34 ` Bart Schaefer
1996-10-02 10:55 ` Peter Stephenson
1996-10-02 12:02 ` Zoltan Hidvegi
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=199610012351.QAA09318@envy.ugcs.caltech.edu \
--to=huyle@xeno.ugcs.caltech.edu \
--cc=zsh-workers@math.gatech.edu \
/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).