On Mon, Aug 27, 2007 at 10:04:57AM +0100, Pádraig Brady wrote: > I think this (rarely used) functionality is > adequately provided by existing tools: > > cat -n | sed -n '1,10p;50,80p;80q'
Not so sure, but sed doesn't allow for line offsets relative from the end, nor does it work on multiple files, ie. streams, at once. Furthermore, we needed (at work) filename output for each stream processed. _______________________________________________ Bug-coreutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-coreutils
