[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: alias for commands broken in bash 2.05.0

From: Brian J. Fox
Subject: Re: alias for commands broken in bash 2.05.0
Date: Tue, 07 Aug 2001 15:26:01 -0700

   From: William Bader <address@hidden>
   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-
   It also happens with the bash-2.04.21 distributed by RedHat.

     alias abc=pwd

Good, I'm glad it's working as advertised!



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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]