Codebase list libmawk / a323d5b2-e0eb-4fad-b708-b7817dc988fe/main src / example_apps / 15_call / test.awk
a323d5b2-e0eb-4fad-b708-b7817dc988fe/main

Tree @a323d5b2-e0eb-4fad-b708-b7817dc988fe/main (Download .tar.gz)

test.awk @a323d5b2-e0eb-4fad-b708-b7817dc988fe/mainraw · 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" }