in reply to filter one file based on another

It doesn't make sense - at least to me. How about a little more data so we can see the result of the second line kicking in and data that is a little more real.

A description of why you are doing this may help too.

What is the significance of the 'position' information and what constitutes 'length'?


Perl reduces RSI - it saves typing