from 'help command'
OPTIONS
$* - Arguments to the command
$<n> - n'th argument to the command
$-<n> - From n'th argument to last argument
...
Could there be added:
$L<n> - n'th-from-last argument
$-L<n> - From first to n'th-from-last argument
So, with the comamnd:
foo aa bb cc dd ee
$1 => aa
$-2 => bb cc dd ee
$L1 => ee
$-L2 => aa bb cc dd
Thanks, --M
© 1990-2024 Balanced Alternative Techniques ry. All rights reserved. BatMUD™ is a registered trademark of Balanced Alternative Techniques ry.
The individual comments are the property of their posters, and may not reflect the views or opinions of the administration.