16
submitted 2 days ago by kiri@ani.social to c/linux@programming.dev

Looks like $(...) is better, but I still pretty often see `...` in some articles.

you are viewing a single comment's thread
view the rest of the comments
[-] trevor 2 points 2 days ago

I prefer this as well, but just adding that Fish also supports $() for those that don't know.

I keep hearing people that haven't used modern versions of Fish say that it's somewhat different from Bash and strays from POSIX compatibility quite a bit. While the latter is true, Fish has added many bash-isms over the years, so most scripting idioms you're familiar with will work there too.

this post was submitted on 13 Nov 2025
16 points (100.0% liked)

Linux

10111 readers
885 users here now

A community for everything relating to the GNU/Linux operating system (except the memes!)

Also, check out:

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 2 years ago
MODERATORS