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