unless I'm missing something, you have over-complicated this.
sort the 2 files together, sorting on the numeric, then in a subsequent step, copy the first record (only).
snowburn wrote:unless I'm missing something, you have over-complicated this.
sort the 2 files together, sorting on the numeric, then in a subsequent step, copy the first record (only).