On 3/27/17 8:32 AM, Torka Noda wrote:
> On Sat, 25 Mar 2017 15:33:47 -0400
> Chet Ramey <[email protected]> wrote:
>>>
>>> Is it normal for Bash positional parameters not to be
>>> available from ~/.bashrc during initialization?
>>
>> Yes. Bash has always worked like this. The startup files are
>> read before the positional parameters are assigned.
>>
>
>
> For any particular reason?
I can't remember whether there was any particular rationale; the decision
was made almost 30 years ago. Brian and I certainly never talked about it.
Is there a compelling reason to change it now, since there are other ways
to accomplish it?
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU [email protected] http://cnswww.cns.cwru.edu/~chet/