zsh-workers
 help / color / mirror / code / Atom feed
* zsh3.0.0 bug: aliases in if-statement
@ 1996-10-01 23:51 Huy Le
  1996-10-02  0:34 ` Bart Schaefer
  0 siblings, 1 reply; 4+ messages in thread
From: Huy Le @ 1996-10-01 23:51 UTC (permalink / raw)
  To: zsh-workers

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1996-10-02 12:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-10-01 23:51 zsh3.0.0 bug: aliases in if-statement Huy Le
1996-10-02  0:34 ` Bart Schaefer
1996-10-02 10:55   ` Peter Stephenson
1996-10-02 12:02     ` Zoltan Hidvegi

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).