|
| From: | Chet Ramey |
| Subject: | Re: --rcfile and non existing files |
| Date: | Tue, 25 Jun 2024 10:25:48 -0400 |
| User-agent: | Mozilla Thunderbird |
On 6/24/24 4:36 PM, Gioele Barabucci wrote:
Hi, the manpage states:This wording suggests (or may suggest) that `bash --rcfile foo` will execute file `foo`, and complain if it contains an error or if it does not exists.When an interactive shell that is not a login shell is started, bash reads and executes commands from /etc/bash.bashrc and ~/.bashrc, if these files exist. […] The --rcfile file option will force bash to read and execute commands from file instead of /etc/bash.bashrc and ~/.bashrc.
I don't think the wording suggests that. This report reads something into
the use of the word "force" that is not there.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
| [Prev in Thread] | Current Thread | [Next in Thread] |