Oops, Sorry my mistake. I do not know if the *sh* is an alias *bash* in Mac OS x, no wonder it does complain the syntax error. 
```
> sh --version
GNU bash, version 3.2.51(1)-release (x86_64-apple-darwin13)
Copyright (C) 2007 Free Software Foundation, Inc.
```