github.com/benhoyt/goawk@v1.8.1/testdata/t.gsub1 (about)

     1  {gsub(/$/,"x"); print}