Hacker News new | ask | show | jobs
by ajsalminen 3781 days ago
Backticks aren't recommended even in POSIX anymore, $() is the newer, preferred alternative.
1 comments

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...)