>>>>> "Lars" == Lars J Aas <[EMAIL PROTECTED]> writes: Lars> You can 'shift' out the dummy at once, though, and leave out the Lars> case for it (I assume you'll have a switch/case inside the for Lars> loop), but then you must use the ${1+"$@"} approach. That's what I meant, dummy could be anything but a string starting with a dash: eval set dummy $list shift # pop dummy now for elt do echo $elt done Akim
- Re: Autoconf --trace Akim Demaille
- Re: Autoconf --trace Lars J. Aas
- Re: Autoconf --trace Akim Demaille
- Re: Autoconf --trace Lars J. Aas
- Re: Autoconf --trace Akim Demaille
- Re: Autoconf --trace Alexandre Oliva
- Re: Autoconf --trace Lars J. Aas
- Re: Autoconf --trace Alexandre Oliva
- Re: Autoconf --trace Akim Demaille
- Re: Autoconf --trace Lars J. Aas
- Re: Autoconf --trace Akim Demaille
- Re: Autoconf --trace Russ Allbery
- Re: Autoconf --trace Lars J. Aas
- Re: Autoconf --trace T.E.Dickey