Re: [PATCH] Enhanced auto-discovery of httpd location and call conventions.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Flavio Poletti (polettix)" <flavio@xxxxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux