From: Ryan Leavengood Date: 2005-10-09T02:01:52+09:00 Subject: Re: One-liner removing duplicate lines On 10/8/05, Mark Hubbart wrote: > > As long as we're mostly obfuscated anyway, we might as well make the > whole thing punctuation: > > ruby -e'$><<([*$<]|[])' infile > outfile That's awesome. I was never a Perl programmer, but I can see the appeal of golf. Sure the above is pretty incomprehensible, but the time it takes to understand it improves your understanding of Ruby as a whole. Ryan