Y
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
0942v8653
3781 days ago
Huh? Does sh have "$()"? I thought we had to use backticks for POSIX-only environments.
link
cmrx64
3781 days ago
Yes, POSIX sh has $(): 2.6.3 Command Substitution (
http://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu...
)
link