Use of --rcfile does not preclude read of /etc/bash.bashrc

2018-01-02 Thread Nat!
shell is interactive (see INVOCATION below).     Yet it does and it pollutes my values. Repeat-By: nat@terodde:/tmp$     echo 'echo $PS1' > x.sh nat@terodde:/tmp$ echo 'exit' >> x.sh nat@terodde:/tmp$ PS1='>>>' strace -o trace bash --nopr

Re: Use of --rcfile does not preclude read of /etc/bash.bashrc

2018-01-06 Thread Nat!
ile x.sh does work to my satisfactions on systems, that do not enable SYS_BASHRC (OS X). So if --rcfile was a feature earlier than SYS_BASHRC (2.05), it's a bona fide regression. Ciao    Nat! On 03.01.2018 02:39, Eduardo Bustamante wrote: On Tue, Jan 2, 2018 at 3:05 PM, Nat! wrote: [...] Descr

Re: Use of --rcfile does not preclude read of /etc/bash.bashrc

2018-01-09 Thread Nat!
Chet Ramey schrieb: On 1/6/18 8:14 AM, Nat! wrote: It's not incorrect; --norc is intended to suppress execution of the interactive shell startup files, even if you specify another file to not execute. Without any warning ? The man of the --norc option specifies exactly which files it i