Changed inline.sh to use awk instead of sed

Using awk, to more flexibly handle vague whitespace. It's a little more readable this way, too :)