Last change
on this file since 2896 was 2725, checked in by Bruno Cornec, 14 years ago |
- Update mindi-busybox to 1.18.3 to avoid problems with the tar command which is now failing on recent versions with busybox 1.7.3
|
-
Property svn:executable
set to
*
|
File size:
535 bytes
|
Rev | Line | |
---|
[2725] | 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.