Pantherina@feddit.de to linuxmemes@lemmy.world · 5 months agoRussian deletefeddit.deimagemessage-square71fedilinkarrow-up1774arrow-down112
arrow-up1762arrow-down1imageRussian deletefeddit.dePantherina@feddit.de to linuxmemes@lemmy.world · 5 months agomessage-square71fedilink
minus-square Morphit @feddit.uklinkfedilinkarrow-up18·5 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·5 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·5 months agoAs an old Perl jockey, you can pry my backticks out of my cold, dead hands.
minus-squarecomador @lemmy.worldlinkfedilinkarrow-up6·edit-25 months agoDaily Linux user since Slackware 95, news to me too lol
minus-squarefmstrat@lemmy.nowsci.comlinkfedilinkEnglisharrow-up4·5 months agoSame camp, and know bash very, very, well. Crazy how you can always learn.
minus-squaremitchty@lemmy.sdf.orglinkfedilinkarrow-up1·5 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 $[].