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
[–] 2 points 1 year 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.

  • source
  • parent