Bug#448324: moreutils: utility to sample stdin?

2009-03-24 Thread Carsten Hey
Robert Edmonds wrote: > How about a utility to sample every Nth line of stdin to stdout? ... GNU sed does this: $ seq 100 | sed -n '0~35p' 35 70 Regards Carsten -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contac

Bug#448324: moreutils: utility to sample stdin?

2007-10-27 Thread Robert Edmonds
Package: moreutils Version: 0.24 Severity: wishlist How about a utility to sample every Nth line of stdin to stdout? This could be useful for humans monitoring the real-time output of noisy programs like tshark or as part of a pipeline prior to an expensive filter. Something like: $ cat samp.c