patched for cases where a command begin- ith or end in spaces.
Merge branch 'master' of https://github.com/liuouya/learn_c