On 19/06/14 14:18, berenger.morel@neutralite.org wrote:
This syntax "$(command)" is not portable.
The $() syntax for command substitution is *not* a bashism. It's been a POSIX Shell Command Language construct for at least a decade.
http://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html#tag_02_06_03