Reads from standard in, attempts to find start of frames, and prints out a line only if it contains the start of a frame.