hw.awk; not re-checked thought