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

2018-01-02 Thread Eduardo Bustamante
On Tue, Jan 2, 2018 at 3:05 PM, Nat! wrote: [...] > Description: > The documentation states, that /etc/bash.bashrc should not be read > (rightfully so IMO) with > --rcfile. FWIW, there are two things going on here: (1) /etc/bash.bashrc is actually disabled by default in the upstream bash

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

2018-01-02 Thread Nat!
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACK

Re: extglob patterns and dotfiles

2018-01-02 Thread Eric Cook
On 01/02/2018 10:30 AM, Chet Ramey wrote: > On 12/31/17 10:36 PM, Eric Cook wrote: > >> So to make my request more specific, i don't think the extglob !() should >> match dotfiles when one of the patterns in the list is preceded with an >> period. >> to be more ksh93-like. > > Let's see if we ca

Re: BASH_SOURCE gets confused when multiple sources are a priori candidates

2018-01-02 Thread Chet Ramey
On 12/18/17 8:06 AM, Bruno Vasselle wrote: > Bash Version: 4.4 > Patch Level: 12 > Release Status: release > > Description: > When a function looks like it is defined in multiple sources, > BASH_SOURCE does not reliably report it has defined > where it was actually defined. It seems t

Re: extglob patterns and dotfiles

2018-01-02 Thread Chet Ramey
On 12/31/17 10:36 PM, Eric Cook wrote: > So to make my request more specific, i don't think the extglob !() should > match dotfiles when one of the patterns in the list is preceded with an > period. > to be more ksh93-like. Let's see if we can be more precise: if a filename beginning with a `.'