--posix option to awk call added to avoid problems with floating point in different locales