xref: /illumos-gate/usr/src/test/util-tests/tests/awk/gnu/setrec0.awk (revision e86372a01d2d16a5dd4a64e144ed978ba17fe7dd)
1function reassign(x, y) {
2   $0 = x
3   print y
4}
5
6{
7   reassign("larry", $1)
8}
9