Last change
on this file since 3487 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:
269 bytes
|
Line | |
---|
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.