GAWK to AWK and better way of handling path

GAWK wont be present by default in all systems
Merge pull request #1 from dileep-p/master

GAWK to AWK and better way of handling path