Codebase list libmawk / 30b66529-447f-407d-a34b-b48ac0e29c37/upstream src / example_apps / 15_call / test.awk
30b66529-447f-407d-a34b-b48ac0e29c37/upstream

Tree @30b66529-447f-407d-a34b-b48ac0e29c37/upstream (Download .tar.gz)

test.awk @30b66529-447f-407d-a34b-b48ac0e29c37/upstreamraw · 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" }