Last change
on this file since 3440 was 3320, checked in by Bruno Cornec, 10 years ago |
- Re-add (thanks git BTW) the 2.2.9 branch which had been destroyed in
the move to 3.0
|
-
Property svn:executable
set to
*
|
File size:
535 bytes
|
Line | |
---|
1 | # The bug here was triggered by:
|
---|
2 | # * performin pathname expansion because we see [
|
---|
3 | # * replace operator did not escape \ in replace string
|
---|
4 |
|
---|
5 | IP=192.168.0.1
|
---|
6 |
|
---|
7 | rm -f '192.168.0.1['
|
---|
8 | echo "${IP//./\\.}"
|
---|
9 | echo "${IP//./\\.}"'[' # bug was here
|
---|
10 | echo "${IP//./\\.}[" # bug was here
|
---|
11 | echo "${IP//./\\\\.}[" # bug was here
|
---|
12 | echo "192\.168\.0\.1["
|
---|
13 |
|
---|
14 | echo >'192.168.0.1['
|
---|
15 | echo "${IP//./\\.}"
|
---|
16 | echo "${IP//./\\.}"'[' # bug was here
|
---|
17 | echo "${IP//./\\.}[" # bug was here
|
---|
18 | echo "${IP//./\\\\.}[" # bug was here
|
---|
19 | echo "192\.168\.0\.1["
|
---|
20 |
|
---|
21 | rm -f '192.168.0.1['
|
---|
Note:
See
TracBrowser
for help on using the repository browser.