Re:How to Debug Bash Scripts
by blasdel on Tuesday August 25, 2009 @02:54PM
(#785474)
The differences:
The takeaway is that you should give up and use bash, or write your own shell if you're an asshole (I have done this).
[ Parent
| on HN ]
Command substitution using $(...) is valid POSIX syntax, not a bashism.
$ /bin/dash
$ echo $(uname -r)
2.6.31-rc7