blob: 0d9d426787bb47b051791ed9977c42b7149e4d52 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
@load "filefuncs"
function foo()
{
print "foo!"
}
BEGIN {
x = FUNCTAB["chdir"]
print "x =", x
@x("/tmp")
printf "we are now in --> "
system("/bin/pwd || /usr/bin/pwd")
}
|