You're viewing a single thread.
All comments
63
comments
There is a
$[]
?22 0 ReplyHuh, it's the same as
$(( ))
- arithmetic expansion.
I think it's deprecated and not in the bash manual, but it still seems to work.18 0 ReplyIt 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.
17 0 ReplyAs an old Perl jockey, you can pry my backticks out of my cold, dead hands.
16 0 ReplyDaily Linux user since Slackware 95, news to me too lol
6 0 ReplySame camp, and know bash very, very, well. Crazy how you can always learn.
4 0 Reply
Its deprecated kinda like `` should be $() https://pubs.opengroup.org/onlinepubs/9699919799/xrat/V4_xcu_chap02.html seach for arithmetic expansion or $[].
1 0 Reply
63
comments
Scroll to top