Yep, though a feature request I've put in is to respond to a ctl-c by producing the results from the stream so far... that way if it's taking a while on a large file you can interrupt and still get something useful.
e.g.
$ (while true; do cat /usr/share/dict/words; done;) | ./randline 3 &
[2] 93937
$ kill -s SIGUSR1 93937
declinograph
brotheler
woolpack
$ kill -s SIGUSR1 93937
lustrify
brotheler
bromophenol