Pantherina@feddit.de to linuxmemes@lemmy.world · 8 months agoRussian deletefeddit.deimagemessage-square63fedilinkarrow-up1788
arrow-up1788imageRussian deletefeddit.dePantherina@feddit.de to linuxmemes@lemmy.world · 8 months agomessage-square63fedilink
minus-square Morphit @feddit.uklinkfedilinkarrow-up18·8 months agoHuh, it’s the same as $(( )) - arithmetic expansion. I think it’s deprecated and not in the bash manual, but it still seems to work.
minus-squareAndrew@mander.xyzlinkfedilinkarrow-up17·8 months agoIt is? Weird. I know about deprecated backticks, but this… I guess it’s so deprecated that very few people know about this. Now a bit more.
minus-squarelobsticle 🦞@lemmy.worldlinkfedilinkarrow-up16·8 months agoAs an old Perl jockey, you can pry my backticks out of my cold, dead hands.
minus-squarecomador @lemmy.worldlinkfedilinkarrow-up6·edit-28 months agoDaily Linux user since Slackware 95, news to me too lol
minus-squarefmstrat@lemmy.nowsci.comlinkfedilinkEnglisharrow-up4·8 months agoSame camp, and know bash very, very, well. Crazy how you can always learn.
minus-squaremitchty@lemmy.sdf.orglinkfedilinkarrow-up1·8 months agoIts deprecated kinda like `` should be $() https://pubs.opengroup.org/onlinepubs/9699919799/xrat/V4_xcu_chap02.html seach for arithmetic expansion or $[].
There is a
$[]
?Huh, it’s the same as
$(( ))
- arithmetic expansion.I think it’s deprecated and not in the bash manual, but it still seems to work.
It is? Weird. I know about deprecated backticks, but this… I guess it’s so deprecated that very few people know about this. Now a bit more.
As an old Perl jockey, you can pry my backticks out of my cold, dead hands.
Daily Linux user since Slackware 95, news to me too lol
Same camp, and know bash very, very, well. Crazy how you can always learn.
Its deprecated kinda like `` should be $() https://pubs.opengroup.org/onlinepubs/9699919799/xrat/V4_xcu_chap02.html seach for arithmetic expansion or $[].