On Thu, Apr 09, 2020 at 09:48:37AM -0400, Chet Ramey wrote:
> On 4/8/20 7:46 PM, Eduardo Bustamante wrote:
> > On Wed, Apr 8, 2020 at 2:42 PM Martin Schulte
> > wrote:
> > (...)
> >> But, as far as I understand, a non-interactive bash doesn't read
> >> ~/.bashrc at all - so shouldn't we just omit
On 4/8/20 7:46 PM, Eduardo Bustamante wrote:
> On Wed, Apr 8, 2020 at 2:42 PM Martin Schulte
> wrote:
> (...)
>> But, as far as I understand, a non-interactive bash doesn't read
>> ~/.bashrc at all - so shouldn't we just omit them?
>
> There are exceptions. One of them being SSH, see:
> https://
On 4/9/20 7:19 AM, Guebitz Roland wrote:
> Hello,
> in the section
> https://www.gnu.org/software/bash/manual/bash.html#Conditional-Constructs
> you have this example:
> [[ $line =~ [[:space:]]*?(a)b ]]
> The expression ?() is not part of the Posix ERE. It is part of bash pattern
> matching: https
Hello,
in the section
https://www.gnu.org/software/bash/manual/bash.html#Conditional-Constructs
you have this example:
[[ $line =~ [[:space:]]*?(a)b ]]
The expression ?() is not part of the Posix ERE. It is part of bash pattern
matching: https://www.gnu.org/software/bash/manual/bash.html#Pattern-M
On Wed, Apr 08, 2020 at 04:46:19PM -0700, Eduardo Bustamante wrote:
> On Wed, Apr 8, 2020 at 2:42 PM Martin Schulte
> wrote:
> (...)
> > But, as far as I understand, a non-interactive bash doesn't read
> > ~/.bashrc at all - so shouldn't we just omit them?
>
> There are exceptions. One of them b