an attempt to learn awk