change gawk to sed