Artifact 70dfec74237417059a4d313c59ebd9518033d628:
- File doc/l-paper/cat.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: 237) [annotate] [blame] [check-ins using]
typedef string FILE; main(int ac, string av[]) { int i; FILE fd; if (ac == 1) { puts("-nonewline", read("stdin")); } else { for (i = 1; defined(av[i]); i++) { fd = open(av[i], "r"); puts("-nonewline", read(fd)); } } }