GNU Rush |
|
Restricted User Shell |
Sergey Poznyakoff |
delete
statementAnother statement modifying the command line is delete
:
Delete nth argument.
Delete positional parameters between ‘$i’ and ‘$j’, inclusive.
Neither form can be used to delete the program name (‘$0’).
For example, the following statement deletes all arguments from the command line, except for the program name:
delete 1 -1
To delete a single argument, unset
can also be used. The
following statements have the same effect:
delete 2 unset 2
This document was generated on January 2, 2022 using makeinfo.
Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.