K&R C Programs Exercise 7-7
Exercise 7-7. Modify the pattern finding program of Chapter 5 to take its input from a set of named files or, if no files are named, from the standard input. Should the file name be printed when a match is found? Yes — when searching multiple files the filename should prefix each matching line (the …