tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: sh: arithmetic: ++ operator unsupported
Date: Thu, 12 Nov 2026 16:13:54 +0100
From: Edgar Fuß <ef%math.uni-bonn.de@localhost>
Message-ID: <avXXsoLeoEoKOa+A%trav.math.uni-bonn.de@localhost>
| > Not a great surprise. -6 ???
| Sorry, it's from 8.2.
That would have less bugs, but ...
| Ah, I see. But it's also missing from sh in 8.2.
Yes, as I said, I don't recall the timelines, but clearly -8 was branched
before that was added, and as a feature addition, would never have been
proposed for a pullup. As it happens I still have a -8 src tree around,
though very rarely mounted these days (there isn't a lot of call for doing
more cvs updates from that tree!) and I see that the most recent sh arithmetic
related pullups in the 8 tree were from just before (just the day before)
++ -- and , were added to HEAD (of the time).
That pullup was the final correct LINENO version, which impacted almost
every part of the shell (did not specifically affect arithmetic, except
when LINENO was involved).
kre
ps: dash (and maybe the FreeBSD sh as well) still doesn't support ++ (etc).
Home |
Main Index |
Thread Index |
Old Index