Re: [PATCH] Enhanced auto-discovery of httpd location and call conventions.
"Flavio Poletti (polettix)" <flavio@polettix.it> writes:
> Another minor change is a substitution of a shell sub-call using "$()"
> by means of backticks. In my understanding, plain /bin/sh does not support
> "$()".
But POSIX shell does. And git does make use of it rather extensively.
Besides, see Documentation/CodingGuidelines:
For shell scripts specifically (not exhaustive):
- We prefer $( ... ) for command substitution; unlike ``, it
properly nests. It should have been the way Bourne spelled
it from day one, but unfortunately isn't.--
Jakub Narebski
Poland
ShadeHawk on #git