New solution in awk