Chet Ramey wrote:
Kevin F. Quinn wrote:
On Tue, 23 Jan 2007 16:55:02 -0500
Chet Ramey [EMAIL PROTECTED] wrote:
I don't get this; I must be missing something. If I do, in
bash-3.1:
I get identical results with fully-patched versions of bash-3.1 and
bash-3.2:
$
[EMAIL PROTECTED] wrote:
Configuration Information [Automatically generated, do not change]:
Machine: i686
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i686'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu'
-DCONF_VENDOR='pc'
On Tue, 23 Jan 2007, Chet Ramey wrote:
[EMAIL PROTECTED] wrote:
Configuration Information [Automatically generated, do not change]:
Machine: i686
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i686'
-DCONF_OSTYPE='linux-gnu'
On Tue, 23 Jan 2007 11:04:58 -0500
Chet Ramey [EMAIL PROTECTED] wrote:
One of the changes between bash-3.1 and bash-3.2 was to unify the
handling of the pattern in the `==' and `=~' conditional command
operators. Pattern characters on the rhs are quoted to represent
themselves (remove their
I don't get this; I must be missing something. If I do, in bash-3.1:
I get identical results with fully-patched versions of bash-3.1 and bash-3.2:
$ cat x17
V=alphabet
[[ $V == alphabet ]] echo yes 1
[[ $V == alphabet ]] echo yes 2
[[ $V == 'alphabet' ]] echo yes 3
[[ $V =~ alphabet ]]
On Tue, 23 Jan 2007, Chet Ramey wrote:
Bash Version: 3.2
Patch Level: 0
Release Status: release
Install the patches. One (patch 3) deals with this issue. The following
transcript shows the difference between the patched and unpatched versions
of bash-3.2.
That was it. Sorry about missing
On Fri, 19 Jan 2007 00:56:03 -0600 (CST)
[EMAIL PROTECTED] wrote:
# run this, eh?
DOG=Dog name - 01 - Wiggles
if [[ $DOG =~ ([[:alpha:][:blank:]]*)- ([[:digit:]]*) -
(.*)$ ]] then
echo Dog ${BASH_REMATCH[2]} is ${BASH_REMATCH[3]}
fi
You can actually get it