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:
227 bytes
|
Rev | Line | |
---|
[2725] | 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.