On Tue, Oct 28, 2008 at 12:23 AM, Ian S. Worthington <[EMAIL PROTECTED]> wrote:
> I need a way to do something like a SORT UNIQ but extracting n records not > just the first/last one. > > I reckon I can do it with LOOKUP with a DROP n in the "add to" path. Is there > an easier way? I would do "sort .. | unique ... count | pick 1.10 <= n | substr 11-* " for the first n record in a run. Can't think of a way to do the *last* n record in a run (unless you know how many there will be in each run). But maybe you can sort descending and take the first n in each run. Sir Rob the Plumber (not related to Joe)
