The use of dollarbrace constructs is actually an extended syntax provided by the korn shell:
# This is actually a bashism foo=$(ls)
# Use backticks instead foo=`ls`
those are parenthesis, not braces. even then, this is perfectly valid POSIX code.
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_06_03
Log in to post a comment.
those are parenthesis, not braces. even then, this is perfectly valid POSIX code.
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_06_03