Table of Contents
Ejemplo:
Devuelve 3 valores a partir del 10.
[bash]
$ set -- /bin/* ; inicio=10 ; final=3 ; echo ${@:inicio:final}
/bin/bzgrep /bin/bzip2 /bin/bzip2recover
[/bash]
Ejemplo:
Devuelve 3 valores a partir del 10.
[bash]
$ set -- /bin/* ; inicio=10 ; final=3 ; echo ${@:inicio:final}
/bin/bzgrep /bin/bzip2 /bin/bzip2recover
[/bash]