Re: function invoking alias fails if defined in same conditional

2012-03-17 Thread gregrwm
e&c- thanks for clarifying. -g "No culture can live, if it attempts to be exclusive." —*Gandhi*

Re: function invoking alias fails if defined in same conditional

2012-03-17 Thread Chet Ramey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 3/17/12 8:09 AM, Eric Blake wrote: > On 03/16/2012 02:56 PM, gregrwm wrote: >> a function invoking an alias works, unless they are defined within the same >> conditional, eg: > > Thanks for the report, but this is not a bug. Remember, aliases aff

Re: function invoking alias fails if defined in same conditional

2012-03-17 Thread Eric Blake
On 03/16/2012 02:56 PM, gregrwm wrote: > a function invoking an alias works, unless they are defined within the same > conditional, eg: Thanks for the report, but this is not a bug. Remember, aliases affect parsing, so they can only be expanded during the parsing phase. But bash has to parse un