How can I get a slice of
$@
in Bash without first having to copy all positional parameters to another array like this?
argv=( "$@" )
echo "${argv[@]:2}";
Asked by n.r.
(2263 rep)
Jul 7, 2013, 01:12 AM
Last activity: Oct 29, 2024, 06:25 PM
Last activity: Oct 29, 2024, 06:25 PM