3
if [ $# -eq 3 -a "$2" = '-d' ]; then
5
elif [ $# -ne 1 ]; then
6
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
10
-patch) patch $pdir -f --no-backup-if-mismatch -p0 < $0;;
11
-unpatch) patch $pdir -f --no-backup-if-mismatch -R -p0 < $0;;
13
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
18
# DP: bash-3.2 upstream patch bash32-039 (documentation)
26
Bug-Reported-by: rew@erebor.com
27
Bug-Reference-ID: <20070119065603.546D011E9C@kansas.erebor.com>
32
Bash-3.2 changed the behavior of the [[ command's `=~' operator when the
33
right-hand side was quoted: it matched the quoted portions as strings.
34
This patch introduces a new shell option: compat31. When enabled, it
35
restores the bash-3.1 behavior with respect to evaluating quoted arguments
40
*** ../bash-20080214/doc/bashref.texi 2008-02-08 21:28:35.000000000 -0500
41
--- doc/bashref.texi 2008-02-22 21:44:51.000000000 -0500
45
easy re-editing of multi-line commands.
49
+ changes its behavior to that of version 3.1 with respect to quoted
50
+ arguments to the conditional command's =~ operator.
53
If set, Bash includes filenames beginning with a `.' in