> So that given N=2 and the input:
>
> aaa 1
> aaa 2
> aaa 3
> bbb 1
> bbb 2
> ccc 1
>
> my output would be:
>
> aaa 1
> aaa 2
> bbb 1
> bbb 2
> ccc 1

It's a shame you don't seem to be able to give a maxnum of records to joincont.
Then it'd be joincont ... maxnum N | unique ... with appropriate specs/append
& split fore and aft.

Having said that, I came up with the same sol'n Rob did.

Gr.,

Rod

Reply via email to