Y
Hacker News
new
|
ask
|
show
|
jobs
by
oranjax
3781 days ago
fish simply replaced `backticks` with (parentheses). give it a go.
1 comments
ajsalminen
3781 days ago
Backticks aren't recommended even in POSIX anymore, $() is the newer, preferred alternative.
link
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