use tr to split words, remove command redundancy
Merge pull request #9 from ferreum/master

use tr to split words