Artifact 9ab3bd72979d26477ba39b0a5429426a2a14d44a:
- File tests/langbench/hash.l — part of check-in [69b737f5a1] at 2016-04-19 20:35:49 on branch little — Fork of Tcl used in the "Little" project. http://www.mcvoy.com/lm/little/index.html (user: dgp, size: 194) [annotate] [blame] [check-ins using]
void main(int ac, string av[]) { int i; string buf; hash h; FILE f; for (i = 1; i < ac; ++i) { f = open(av[i], "rb"); while (gets(f, &buf) >= 0) { h{buf} = 1; } close(f); } }