Last change
on this file since 2872 was 2725, checked in by Bruno Cornec, 13 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:
269 bytes
|
Rev | Line | |
---|
[2725] | 1 | var=ababcdcd
|
---|
| 2 |
|
---|
| 3 | echo ${var#ab}
|
---|
| 4 | echo ${var##ab}
|
---|
| 5 | echo ${var#a*b}
|
---|
| 6 | echo ${var##a*b}
|
---|
| 7 | echo ${var#?}
|
---|
| 8 | echo ${var##?}
|
---|
| 9 | echo ${var#*}
|
---|
| 10 | echo ${var##*}
|
---|
| 11 |
|
---|
| 12 | echo ${var%cd}
|
---|
| 13 | echo ${var%%cd}
|
---|
| 14 | echo ${var%c*d}
|
---|
| 15 | echo ${var%%c*d}
|
---|
| 16 | echo ${var%?}
|
---|
| 17 | echo ${var%%?}
|
---|
| 18 | echo ${var%*}
|
---|
| 19 | echo ${var%%*}
|
---|
| 20 |
|
---|
| 21 | echo end
|
---|
Note:
See
TracBrowser
for help on using the repository browser.