~vcs-imports/gawk/master

« back to all changes in this revision

Viewing changes to test/poundbang.awk

  • Committer: Arnold D. Robbins
  • Date: 2010-07-16 10:09:56 UTC
  • Revision ID: git-v1:bc70de7b3302d5a81515b901cae376b8b51d2004
Tags: gawk-3.1.0
Move to gawk-3.1.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /tmp/gawk -f 
 
2
        { ccount += length($0) }
 
3
END { printf "average line length is %2.4f\n", ccount/NR}