this post was submitted on 27 Mar 2024
788 points (98.5% liked)

linuxmemes

20751 readers
1224 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Andrew15_5@mander.xyz 22 points 5 months ago (1 children)
[–] Morphit@feddit.uk 18 points 5 months ago (3 children)

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.

[–] Andrew15_5@mander.xyz 18 points 5 months ago (2 children)

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.

[–] lobsticle@lemmy.world 16 points 5 months ago

As an old Perl jockey, you can pry my backticks out of my cold, dead hands.

[–] comador@lemmy.world 6 points 5 months ago* (last edited 5 months ago) (1 children)

Daily Linux user since Slackware 95, news to me too lol

[–] fmstrat@lemmy.nowsci.com 4 points 5 months ago

Same camp, and know bash very, very, well. Crazy how you can always learn.

[–] mitchty@lemmy.sdf.org 1 points 5 months ago

Its deprecated kinda like `` should be $() https://pubs.opengroup.org/onlinepubs/9699919799/xrat/V4_xcu_chap02.html seach for arithmetic expansion or $[].