POSIX getopts and awk