in reply to HowDoI parse the line
Did you check the docs for split? Use "split ' ', $line" to split the same way that awk does.