Re:Dimsum is like head or tail, but pulls randomly from the ...
by wodow on Monday November 26, 2012 @03:51PM
(#4833965)
It could accept another signal (e.g. SIGUSR1) and have this clearly documented.
[ Parent
| on HN ]
Re:Dimsum is like head or tail, but pulls randomly from the ...
by neilk on Monday November 26, 2012 @04:41PM
(#4834182)
I just added the SIGUSR1 feature to my hacky perl script (see my other comment).
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