Hacker News new | ask | show | jobs
by oranjax 3781 days ago
fish simply replaced `backticks` with (parentheses). give it a go.
1 comments

Backticks aren't recommended even in POSIX anymore, $() is the newer, preferred alternative.
Huh? Does sh have "$()"? I thought we had to use backticks for POSIX-only environments.
Yes, POSIX sh has $(): 2.6.3 Command Substitution (http://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu...)