[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What is the difference between a newline and a semi-colon?
From: |
Chet Ramey |
Subject: |
Re: What is the difference between a newline and a semi-colon? |
Date: |
Fri, 30 May 2014 14:52:56 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 |
On 5/30/14, 2:40 PM, Andreas Schwab wrote:
> Bruce Korb <bruce.korb@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 chet@case.edu http://cnswww.cns.cwru.edu/~chet/