TIP: Click on subject to list as thread! ANSI
echo: barktopus
to: Geo.
from: Steve Ewing
date: 2004-06-17 19:41:16
subject: Re: Reagan`s dead

From: "Steve Ewing" 

On Wed, 16 Jun 2004 22:43:53 -0400, Geo.  wrote:

> "Steve Ewing"  wrote in message
> news:opr9kafng0sagvys{at}news.barkto.com...
>
>> You Windows weenies!
>>
>> sort -u ad.list > ad.list.sorted
>
> Good, now lets see the equivalent of doing the pivot table (taking dupes
> out).
>
> Geo. (go ahead, invoke sed )

Ick!  I long ago decided that Perl was the way to go-- learn just *one*
tool.  I do use awk for quickie stuff (swapping columns and such).  But the
-u switch in sort produces only the unique items-- the dupes are removed. 
Or you could do a normal sort and pipe that to "uniq".

I'm just a low-level user of this stuff-- but I do grind through a lot of
logs and such, and love being able to manipulate them so easily (and, of
course, I am a dedicated vi user-- a text editor).

--
Steve 
http://www.qmss.com/sewing

--- BBBS/NT v4.01 Flag-5
* Origin: Barktopia BBS Site http://HarborWebs.com:8081 (1:379/45)
SEEN-BY: 633/267 270
@PATH: 379/45 1 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.