-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 1/30/14, 7:18 PM, Mike Frysinger wrote:
>> The effect of \- in an ERE is still undefined.
>
> so it is. yet still irrelevant. the GNU library defines behavior explicitly:
> https://www.gnu.org/software/gnulib/manual/html_node/The-Backslash-Chara
On Thursday, January 30, 2014 23:53:55 Andreas Schwab wrote:
> Mike Frysinger writes:
> > yes, but that's kind of irrelevant for the point raised here. bash's =~
> > uses ERE, and passing in REG_EXTENDED to get ERE semantics with regcomp()
> > yields the same result (at least with glibc) as above
Mike Frysinger writes:
> yes, but that's kind of irrelevant for the point raised here. bash's =~ uses
> ERE, and passing in REG_EXTENDED to get ERE semantics with regcomp() yields
> the same result (at least with glibc) as above.
The effect of \- in an ERE is still undefined.
Andreas.
--
A
On Thursday, January 30, 2014 23:12:18 Andreas Schwab wrote:
> Mike Frysinger writes:
> > $ ./a.out 'a\-b' a-b
> > regcomp(a\-b) = 0
>
> The effect of \- in a BRE is undefined.
yes, but that's kind of irrelevant for the point raised here. bash's =~ uses
ERE, and passing in REG_EXTENDED to get
Mike Frysinger writes:
> $ ./a.out 'a\-b' a-b
> regcomp(a\-b) = 0
The effect of \- in a BRE is undefined.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
On Thursday, January 30, 2014 10:48:34 Chet Ramey wrote:
> o. The shell now handles backslashes in regular expression arguments to the
>[[ command's =~ operator slightly differently, resulting in more
>consistent behavior.
hmm, i seem to be running into a bug here. the bash man page sugge
general.c is missing traps.h include:
general.c: In function ‘bash_tilde_expand’:
general.c:991:3: warning: implicit declaration of function
‘any_signals_trapped’ [-Wimplicit-function-declaration]
if (any_signals_trapped () < 0)
unicode.c is missing stdio.h
The second release candidate of bash-4.3 is now available with the URL
ftp://ftp.cwru.edu/pub/bash/bash-4.3-rc2.tar.gz
This tar file does not include the formatted documentation (you
should be able to generate it yourself).
This release fixes many outstanding bugs in bash-4.2 and introduces seve