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".

It's clumsy but it works:

a=(a b c);
*=$a { shift; shift; a=($*) }

Russ

Reply via email to