On Thu, 13 Mar 2003, Jihuang Zhou wrote:

> Anybody knows how to get an input parameter list from the second
> parameter to the second last?  For example, if $*="aa bb cc ....mm nn",

Why not just shift away the first parameter?

        foo=$1
        shift
        bar="$*"

-- 
Guvf gntyvar jnf rapbqrq jvgu gur ebg13.fu fpevcg, ninvynoyr ng
uggc://jjj.pbqrtabzr.bet/fpevcgvat/fubjfpevcg.cuc?fpevcg=ebg13.fu be
sebz n furyy-fpevcgvat nepuvir arne lbh!

                        - ROT-13 Encoded Message



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to