| 1 |
#: 200810_ Prettyprint weirdness to show Arnold |
| 2 |
BEGIN { |
| 3 |
IGNORECASE = 1; |
| 4 |
printf("\n"); |
| 5 |
printf("test \"%s\"\tin FUNCTAB=%s (good!)\n","masterlib::libfunc","masterlib::libfunc" in FUNCTAB); |
| 6 |
exit; |
| 7 |
#..1.1.1............... |
| 8 |
} # e-o-begin |
| 9 |
#..2.2.2............. |
| 10 |
@namespace "nlib" |
| 11 |
function tstlib(note){ printf("Tstv1=%s; from @namespace nlib\n",Tstv1); |
| 12 |
}# e-o-function tstlib() |
| 13 |
#..3.3.3............. |
| 14 |
@namespace "masterlib" |
| 15 |
# masterlib is library of "default" user-defined functions |
| 16 |
function libfunc(note){ printf("%s:\tHello World from @namespace masterlib\n",note);} |
| 17 |
#..4.4.4............. |
| 18 |
@namespace "awk" |
| 19 |
# return to program's awk space |
| 20 |
function overridefunc(note){ printf("%s:\tHello Lone Star state from @namespace awk\n",note);} |
| 21 |
# --5-5-5----------- |