compatibility for posix "sh"
Merge pull request #1 from abbafei/master

compatibility for posix "sh"