View Single Post
  #7   (View Single Post)  
Old 23rd September 2010
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

I also prefer using $() wherever possible, apparently it was introduced with Korn shells and GNU's bash.

As mentioned by Carpetsmoker, this has been merged into POSIX/SUS standards and both are perfectly legal.. and a compliant 'sh' must support both.

http://www.opengroup.org/onlinepubs/...l#tag_18_06_03
Reply With Quote