On 6/24/24 4:36 PM, Gioele Barabucci wrote:
Hi,
the manpage states:
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.
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.
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 c...@case.edu http://tiswww.cwru.edu/~chet/