~vcs-imports/gawk/master

« back to all changes in this revision

Viewing changes to old-extension/testsparr.awk

  • Committer: Juergen Kahrs
  • Date: 2014-06-24 11:18:33 UTC
  • mfrom: (408.2.336)
  • Revision ID: git-v1:f1245d04a9f076773c60499b468f44ed9c91b59b
Merge remote-tracking branch 'origin/master' into cmake

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# ../gawk -lsparr -f testsparr.awk
2
2
BEGIN {
3
 
        extension("sparr")
 
3
        extension("./sparr.so")
4
4
        print SYS["time"]
5
5
        SYS["readline"] = "sparr.c";
6
6
        printf("File %s has %d lines\n", SYS["readline"], length(READLINE))