github.com/benhoyt/goawk@v1.8.1/testdata/gawk/setrec0.awk (about)

     1  function reassign(x, y) {
     2     $0 = x
     3     print y
     4  }
     5  
     6  {
     7     reassign("larry", $1)
     8  }