Pantherina@feddit.de to linuxmemes@lemmy.world · 9 months agoRussian deletefeddit.deimagemessage-square71fedilinkarrow-up1798arrow-down111
arrow-up1787arrow-down1imageRussian deletefeddit.dePantherina@feddit.de to linuxmemes@lemmy.world · 9 months agomessage-square71fedilink
minus-square Morphit @feddit.uklinkfedilinkarrow-up18·9 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-up18·9 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·9 months agoAs an old Perl jockey, you can pry my backticks out of my cold, dead hands.
minus-squarecomador @lemmy.worldlinkfedilinkarrow-up6·edit-29 months agoDaily Linux user since Slackware 95, news to me too lol
minus-squarefmstrat@lemmy.nowsci.comlinkfedilinkEnglisharrow-up4·9 months agoSame camp, and know bash very, very, well. Crazy how you can always learn.
minus-squaremitchty@lemmy.sdf.orglinkfedilinkarrow-up1·9 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.
deleted by creator
Its deprecated kinda like `` should be $() https://pubs.opengroup.org/onlinepubs/9699919799/xrat/V4_xcu_chap02.html seach for arithmetic expansion or $[].