fix endianness problem.
further optimize awk by not looking for the BEGIN regex until we found the
BEGIN (Jan Kaluza)
Merge remote-tracking branch 'upstream/master'
merge with upstream