www.pudn.com > LexYaccProgs.zip > LENGS.L
%{ (* This is a Lex demonstration program taken from the UNIX manual which which counts words in a file. Usage: lengs 0 then writeln(i:6, ' ':3, lengs[i]:6); end.