remove sed command dependency.
Merge pull request #55 from hansode/remove-sed-dependency

remove sed command dependency.