Use cut instead of awk

awk is a too huge hammer for getting the first item from a space-separated line
Merge pull request #1 from vpodzime/patch-1

Use cut instead of awk