Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!zaphod.mps.ohio-state.edu!mips!apple!oliveb!orc!mipos3!iwarp.intel.com!news From: merlyn@iwarp.intel.com (Randal Schwartz) Newsgroups: comp.lang.perl Subject: Re: sort Keywords: sort Message-ID: <1990Feb1.222858.12859@iwarp.intel.com> Date: 1 Feb 90 22:28:58 GMT References: <1990Feb1.050145.21183@athena.mit.edu> <1990Feb1.163539.10576@iwarp.intel.com> <6963@jpl-devvax.JPL.NASA.GOV> Sender: news@iwarp.intel.com Reply-To: merlyn@iwarp.intel.com (Randal Schwartz) Distribution: usa Organization: Stonehenge; netaccess via Intel, Beaverton, Oregon, USA Lines: 20 In-Reply-To: lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) In article <6963@jpl-devvax.JPL.NASA.GOV>, lwall@jpl-devvax (Larry Wall) writes: | And bearing in mind that it might be more efficient to use the sort program. Ahh yes, it didn't even occur to me that the question might be solved by a *standard* Unix utility! Arrggh. I've been rewriting for c.u.q too long! | | : Just another Perl hacker, of sorts, | | Now that he's collecting examples for the book, he's also a sorter of hacks. Cute. @a=split(/(\d)/,"4Hacker,2another3Perl1Just");shift(@a);%a=@a;print "@a{1..4}"; -- /=Randal L. Schwartz, Stonehenge Consulting Services (503)777-0095 ==========\ | on contract to Intel's iWarp project, Beaverton, Oregon, USA, Sol III | | merlyn@iwarp.intel.com ...!any-MX-mailer-like-uunet!iwarp.intel.com!merlyn | \=Cute Quote: "Welcome to Portland, Oregon, home of the California Raisins!"=/