awk/testdir/t.fun2

11 lines
119 B
Plaintext
Raw Normal View History

2019-06-23 05:13:57 -04:00
function f(n) {
while (n < 10) {
print n
n = n + 1
}
}
function g(n) {
print "g", n
}
{ f($1); g($1); print n }