On 5/30/14, 2:40 PM, Andreas Schwab wrote:
> Bruce Korb <[email protected]> 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 [email protected] http://cnswww.cns.cwru.edu/~chet/