prevent new line error in gawk, fix #2671