[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

RE: [FWP] comm Golf



Alistair.McGlinchy@marks-and-spencer.com writes:
> As much as I like the techniques used here, Nathan's versions don't print
> the same output as as Tim's. For eg, Nathan's doesn't deal with duplicate
> entries in the one of the source files, nor does it print the output in the
> same order as the input.

You're right, I forgot about duplicate input lines.  However, I don't
think the input order is a valid complaint: comm(1) requires the input
files to be in lexicographic order.

Nat

==== Want to unsubscribe from Fun With Perl?  Well, if you insist...
==== Send email to <fwp-request@technofile.org> with message _body_
====   unsubscribe