External URL not found in documentation

2018-05-27 Thread Jorge Maldonado Ventura
How about using the following URL ?

Re: extglob patterns not expanded in -c command-strings

2018-05-27 Thread Paulo Marcel Coelho Aragão
> If you apply that rule, you can figure out the answer: extglob changes the > behavior of the parser, so it must be enabled before a command is parsed. > The complete line of input is read before any of it is parsed, and the > complete line is parsed before any of it is executed. As a consequence,

Re: extglob patterns not expanded in -c command-strings

2018-05-27 Thread Chet Ramey
On 5/27/18 7:38 PM, marcelpa...@gmail.com wrote: > Bash Version: 4.4 > Patch Level: 19 > Release Status: release > > Description: > extglob patterns are not expanded in -c command-strings, even if extglob is > set within the command-string. For instance, running: > > bash -c 'shopt -s extglob;

Re: extglob patterns not expanded in -c command-strings

2018-05-27 Thread Paulo Marcel Coelho Aragão
> bash -c 'shopt -s extglob; echo @(foo*|bar*)' I've just discovered that this works as expected: bash -O extglob -c 'echo @(foo*|bar*)' However, the puzzle lingers on, since running this: bash -c 'shopt -s extglob; shopt extglob' results in: extglob on which indicates that the origi

extglob patterns not expanded in -c command-strings

2018-05-27 Thread marcelpaulo
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' -DPACKA

Re: BASH_ALIASES assignment allow special characters

2018-05-27 Thread Mike Jonkmans
On Sun, May 27, 2018 at 01:05:59PM -0400, Chet Ramey wrote: > Date: Sun, 27 May 2018 13:05:59 -0400 > From: Chet Ramey > To: Mike Jonkmans , bug-bash@gnu.org, > b...@packages.debian.org > Cc: chet.ra...@case.edu > Subject: Re: BASH_ALIASES assignment allow special characters > Reply-To: chet.ra..

Re: BASH_ALIASES assignment allow special characters

2018-05-27 Thread Chet Ramey
On 5/27/18 4:20 AM, Mike Jonkmans wrote: > Bash Version: 4.4 > Patch Level: 19 > Release Status: release > > Description: > The special array BASH_ALIAS allows assignment/creation of aliases with > special characters in it. > Though these characters would error when used in an a

BASH_ALIASES assignment allow special characters

2018-05-27 Thread Mike Jonkmans
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' -DPACKA