On 5/30/14, 2:40 PM, Andreas Schwab wrote:
> Bruce Korb <bruce.k...@gmail.com> writes:
> 
>> Thanks, Eric & Chet.  I hope nobody ever needs to load up a set of
>> aliases within a Makefile script.
> 
> A non-interactive shell does not have aliases.

Not by default, if it's named `bash'.  However, since Posix  specifies
alias expansion, a shell in posix mode performs alias expansion whether
it's interactive or not.  You can also enable it with `shopt -s
expand_aliases'.

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    c...@case.edu    http://cnswww.cns.cwru.edu/~chet/

Reply via email to