github.com/benhoyt/goawk@v1.8.1/testdata/t.sub2 (about) 1 {sub(/.$/,"&&"); print} 2 {sub(/.$/,"&\\&&"); print}