shift in rc only shifts the command line argument ($*). How can I shift other variable in rc? I would like to do something like this:
a=(a b c)
shift a 2
echo $a
and the echo should yield "b c".
TIA,
--
shift in rc only shifts the command line argument ($*). How can I shift other variable in rc? I would like to do something like this:
a=(a b c)
shift a 2
echo $a
and the echo should yield "b c".
TIA,
--