class HelloWorld : GLib.Object { public static int main(string[] args) { assert(args.length == 2); var f = FileStream.open(args[1], "r"); var line = ""; var wc = 0; var lc = 0; char c = ' '; while (!f.eof()) { /* line = f.read_line(); lc++; if (line == null) break; //stdout.printf("line = %s\n", line); var words = line.split(" "); for (int i=0; i