This web is for holding topics deemed as old or irrelevant for KitWiki. If you think the topic doesn't belong here, please check that it's named properly (is a WikiWord) and descriptively, contains relevant data, and is put back to a relevant web.

Utility: linefreq

Synopsis:
linefreq < inputfile > outputfile

Description
Counts line types.

Path
/l/bin/linefreq

Installed to location
/fs/corpus2/appl/ling/contrib/

Source code
gawk ' { count[$0]++; } 
END    { for (x in count) { printf("%7i %s\n",count[x],x); } }' 

-- AnssiYliJyra - 13 Jun 2006

Topic revision: r6 - 2008-11-10 - HennaRiikkaLaitinen
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback