Merge pull request #1 from prologism/master

Merge pull request #1 from Lyr/master
- add support of osx bash
Merge branch 'master' of https://github.com/Lyr/genlog.git
Merge pull request #2 from Lyr/master

Support to OSX bash