On Wed, Mar 08, 2000 at 11:31:27AM +0100, Akim Demaille wrote:
: Lars> I think the dummy-approach is safest.  I didn't look into which
: Lars> context this was to be used in, but I'd probably name it
: Lars> _ac_dummy or something like that...
: 
: `dummy' is just a string here, there is no problems.  And it's an

As I said, I don't know the context.  If it's argument parsing we're
talking about, I could be insane enough to have "dummy" as an option
for some --with-* value.

You can 'shift' out the dummy at once, though, and leave out the case for
it (I assume you'll have a switch/case inside the for loop), but then
you must use the ${1+"$@"} approach.

  Lars J

Reply via email to