[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#473156: [checks/scripts] dash now supports $((cnt+1))



On Fri, 2008-03-28 at 11:59 -0700, Russ Allbery wrote:
> "Adam D. Barratt" <adam@adam-barratt.org.uk> writes:
> 
> > As far as I can see, it *is* in POSIX, which is what persuaded Herbert
> > to (albeit slowly) add it to dash.
> 
> Oh!  Then the comment now makes sense to me, and by all means we should
> remove this check.  Thank you very much for this; I hadn't realized that
> was a standard feature.

It wasn't. Having just checked, SUS2 only requires $(($var+1)); $((var
+1)) is an SUS3 addition.

Adam



Reply to: