From: William Bader <william@nscs.fast.net>
Date: Tue, 7 Aug 2001 18:15:21 EDT
The two-line script below prints "abc: command not found"
instead of the current directory on bash-2.05.0.
I built bash from source under RedHat 7.1 (with RedHat's gcc)
and SCO ODT 2.0 (with gcc-2.7.2.1).
It also happens with the bash-2.04.21 distributed by RedHat.
alias abc=pwd
abc
Good, I'm glad it's working as advertised!
Thanks,
Brian
PS: This behavior is exactly correct; aliases are not exectued within
scripts. Imagine what one could do by aliasing `su to be
something else...
== The Difference Between Cultures: ==
Einigkeit und Recht und Freiheit
Liberte', E'galite', Fraternite'
Sex, drugs and rock'n'roll