this post was submitted on 27 Mar 2024
787 points (98.6% liked)

linuxmemes

20473 readers
879 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
[–] [email protected] 22 points 4 months ago (1 children)
[–] [email protected] 18 points 4 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.

[–] [email protected] 18 points 4 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.

[–] [email protected] 16 points 4 months ago

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

[–] [email protected] 6 points 4 months ago* (last edited 4 months ago) (1 children)

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

[–] [email protected] 4 points 4 months ago

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

[–] [email protected] 1 points 4 months ago

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