☰
Debian Codegraph
@
0.0.3+bzr.2010.01.26+bap.1-1
/
/
benchmarks.larceny
/
src
/
wc.awk
☽
☼
benchmarks.larceny/src/wc.awk
code
plain
raw
GPL-3
Copyright (c) 2006, 2007, 2008 Abdulaziz Ghuloum <
[email protected]
>
debian/copyright
1
#! /usr/bin/awk -f
2
3
function wc( file1 ) {
4
while (1 == (getline < file1)) {
5
nl++
6
nw += NF
7
nc += length( $0 ) + 1
8
}
9
return
10
}
11
BEGIN {
12
wc( "../../src/bib" )
13
}