awk: in BEGIN section $0 should be "", not "0".