Last change
on this file since 3657 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:
227 bytes
|
Rev | Line | |
---|
[3320] | 1 | var=abcdef
|
---|
| 2 |
|
---|
| 3 | echo ${var:7}
|
---|
| 4 | echo ${var:6}
|
---|
| 5 | echo ${var:5}
|
---|
| 6 | echo ${var:1}
|
---|
| 7 | echo ${var:0}
|
---|
| 8 | echo ${var:-1}
|
---|
| 9 |
|
---|
| 10 | echo ${var:1:4}
|
---|
| 11 | echo ${var:0:4}
|
---|
| 12 | echo ${var::4}
|
---|
| 13 | echo ${var:-1:4}
|
---|
| 14 |
|
---|
| 15 | echo ${var:1:7}
|
---|
| 16 | echo ${var:0:7}
|
---|
| 17 | echo ${var::7}
|
---|
| 18 | echo ${var:-1:7}
|
---|
Note:
See
TracBrowser
for help on using the repository browser.