[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-bash] about --norc

From: Chet Ramey
Subject: Re: [Help-bash] about --norc
Date: Mon, 10 Dec 2018 14:27:48 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:60.0) Gecko/20100101 Thunderbird/60.3.3

On 12/10/18 2:24 PM, Peng Yu wrote:
>>> --norc Do not read and execute the personal initialization file
>>> ~/.bashrc if the shell is **interactive**.  This option is on by default
>>> if the shell is invoked as sh.
> What I was not clear is what "invoked as sh" means. It sounds like it
> is the same as "not interactive" as it is written in the above
> sentence. But I am not sure non-interactive is necessary like sh.

You're overthinking it, and you removed the formatting. Invoked as
\fBsh\fP (formatting as in the man page) means being invoked with
the name "sh".

``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]