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

Re: [SOLVED] Re: wine-unstable 64 bit



On Thu, 19 Jun 2014, berenger.morel@neutralite.org wrote:
> This syntax "$(command)" is not portable.

It is a POSIX shell construct.  Anything that doesn't implement it should
not be linked to /bin/sh in the first place.

http://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html
section 2.6.3.

HOWEVER, $(something) and `something` are not equivalent in POSIX, they have
different behavior re. expansion of "something".  The code appears to be
using $() correctly, though.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh


Reply to: