awk/testdir/t.getval

7 lines
92 B
Plaintext
Raw Normal View History

2019-06-23 05:13:57 -04:00
{ # tests various resetting of $1, $0, etc.
$1 = length($1) + length($2)
print $0 + 0
}