Xref: utzoo comp.unix.questions:26606 comp.lang.perl:2817 Path: utzoo!attcan!uunet!lll-winken!elroy.jpl.nasa.gov!jpl-devvax!lwall From: lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) Newsgroups: comp.unix.questions,comp.lang.perl Subject: Re: Need help ** removing duplicate rows ** Message-ID: <10187@jpl-devvax.JPL.NASA.GOV> Date: 31 Oct 90 17:29:08 GMT References: <1990Oct30.234654.23547@agate.berkeley.edu> <1990Oct31.003627.641@iwarp.intel.com> <10182@jpl-devvax.JPL.NASA.GOV> <28220:Oct3105:18:3290@kramden.acf.nyu.edu> Reply-To: lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) Organization: Jet Propulsion Laboratory, Pasadena, CA Lines: 21 In article <28220:Oct3105:18:3290@kramden.acf.nyu.edu> brnstnd@kramden.acf.nyu.edu (Dan Bernstein) writes: : > I'll leave the awk and sed solutions to someone else. : : Yes, I seem to always be defending the classic tools against this : onslaught of Perl code that nobody but you can ever optimize. You're obviously too defensive. :-) I often post non-Perl solutions if I think they're appropriate. And I freely admit that I overlooked sort -u, which is, as you say, perfect for the job. The sort I grew up with didn't have -u, so I never seem to think of it. Dratted fossilized neurons... And what's so amazing about me being better than other people with Perl? I bet you're better than me with auth. You push auth a little, I push Perl a little, and the world becomes a better place. If you consistently take an antagonististic approach, however, people are going to start thinking you're from New York. :-) Love, Larry