* Paolo Bonzini wrote on Mon, Oct 13, 2008 at 07:24:10PM CEST:
> I'd okay with -, but what if unset does not work?  I planned to do
> something like
> 
>   as_lineno=; AS_UNSET([as_lineno])
> 
> but that could expand to
> 
>   as_lineno=; false as_lineno
> 
> Do we still care about "old BSD shells, including the Ultrix sh"?  How
> old are these?

Let's go with unset.  IIRC unset is more portable than ${var:-default}
(and IIRC, where the latter doesn't work, it causes the shell to abort
the script).  Having line number information fail if both are borked is
tough luck.

Cheers,
Ralf


Reply via email to