Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
ajsalminen
· 10y ago · 0 comments
Backticks aren't recommended even in POSIX anymore, $() is the newer, preferred alternative.
Comments
[–]
0942v8653
10y ago
Huh? Does sh have "$()"? I thought we had to use backticks for POSIX-only environments.
[–]
cmrx64
10y ago
Yes, POSIX sh has $(): 2.6.3 Command Substitution (
http://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu...
)