> 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 ]] && echo yes 4
[[ $V =~ "alphabet" ]] && echo yes 5
[[ $V =~ 'alphabet' ]] && echo yes 6
$ ../bash-3.2-patched/bash ./x17
yes 1
yes 2
yes 3
yes 4
yes 5
yes 6
$ ../bash-3.1-patched/bash ./x17
yes 1
yes 2
yes 3
yes 4
yes 5
yes 6
$ ../bash-3.2-patched/bash --version
GNU bash, version 3.2.9(7)-release (powerpc-apple-darwin8.7.0)
Copyright (C) 2005 Free Software Foundation, Inc.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
Live Strong.
Chet Ramey, ITS, CWRU [EMAIL PROTECTED] http://tiswww.tis.case.edu/~chet/
_______________________________________________
Bug-bash mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-bash