Codebase list libmawk / upstream/1.0.3 src / example_apps / 15_call / test.awk
upstream/1.0.3

Tree @upstream/1.0.3 (Download .tar.gz)

test.awk @upstream/1.0.3raw · history · blame

1
2
3
4
5
6
7
8
9
function foo(a, b, c)
{
	print "script: foo(" a "," b "," c ")"
	return a+b
}

BEGIN { print "script: BEGIN" }
      { print "script: input: \"" $0 "\"" }
END   { print "script: END" }