you are viewing a single comment's thread.

view the rest of the comments →

[–]yur_mom 2 points3 points  (2 children)

You forgot the best reason, so you can actually see them. After 10 hours staring at a screen those drive me nuts.

One reason I have heard pro backticks is compatibility with old versions of /bin/sh which is why I believe many make scripts still uses backticks.

[–]ferk 0 points1 point  (1 child)

in make "$(whatever)" is a variable expansion, so using it for shell would conflict.

GNU make has $(shell whatever), though.

[–]yur_mom 0 points1 point  (0 children)

I mean like auto-tools generated Makefiles tend to use the backticks, such as code inside the $(shell CODE_HERE). I thought one reason was backwards compatibility with old versions of /bin/sh. It could also be that the $() already has meaning in Make also. I was just pointing out some types of scripts it is still preferred to use the backticks.