How to unset the positional parameters?
Ok this was just stupid, and I found out using set --
will work.
Easily unset all positional parameters with:
shift $#
To remove the first 3 positional parameters:
shift 3
Shift "pops" off the first N positional parameters. By using $# we get the total number of positional parameters. The command thus pops off all the positional parameters.