Thread: Funny stuff
View Single Post
Old 10th September 2011
IdOp's Avatar
IdOp IdOp is offline
Too dumb for a smartphone
 
Join Date: May 2008
Location: twisting on the daemon's fork(2)
Posts: 1,027
Default

Isn't the syntax

$[ ... ]

for arithmetic expansion a no longer documented bash-ism? I think it's more readable than

$(( ... ))

but maybe it should be avoided if it's deprecated?
Reply With Quote