Time for an 2014 update…
This commit is contained in:
parent
372c577f83
commit
09687c4926
2520 changed files with 34227 additions and 7318 deletions
14
Task/Introspection/AWK/introspection.awk
Normal file
14
Task/Introspection/AWK/introspection.awk
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
# syntax: GAWK -f INTROSPECTION.AWK
|
||||
BEGIN {
|
||||
if (PROCINFO["version"] < "4.1.0") {
|
||||
print("version is too old")
|
||||
exit(1)
|
||||
}
|
||||
bloop = -1
|
||||
if (PROCINFO["identifiers"]["abs"] == "user" && bloop != "") {
|
||||
printf("bloop = %s\n",bloop)
|
||||
printf("abs(bloop) = %s\n",abs(bloop))
|
||||
}
|
||||
exit(0)
|
||||
}
|
||||
function abs(x) { if (x >= 0) { return x } else { return -x } }
|
||||
Loading…
Add table
Add a link
Reference in a new issue