On 7/4/20 12:23 PM, Lawrence Velázquez wrote:

> Quoting Chet liberally from
> https://lists.gnu.org/archive/html/bug-bash/2012-04/msg00034.html:

>>
>> It dates from Posix circa 1990 (1003.2d9, of which I've lost my paper
>> copy).  I implemented it after the Berkeley guys, mostly Marc
>> Teitelbaum, put it into Posix.  It ended up getting dropped in favor
>> of the ksh $((...)) expansion, at which point everyone deprecated the
>> old $[...].  I removed it from the manual sometime later, but it still
>> works as it always has.

This all remains true. I probably won't remove it, but nobody should use it
in new code.


-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/

Reply via email to