yups...the uniq function worked...thanx guys :) "Nicholas J. Leon" wrote: > On Tue, 16 Feb 1999, Ray Olszewski wrote: > > # Yeah, why not? If I had to do this here, or if the list were very long (over > # 1000 entries, say), I'd write a perl program to read the file into a sorted > # array, discarding duplicates along the way, then write out a new, clean file. > # > # If the list was short and I was feeling lazy (or didn't know perl), I'd use > # "sort" to process the file and output a new copy, then use vi (or whatever > # text editor you prefer) to delete the dups by hand. > > Is there a reason why > > cat inname | sort | uniq > outname > > isn't appropriate? > > G'day! > -- n i c h o l a s j l e o n > elegance through simplicity*http://mrnick.binary9.net*[EMAIL PROTECTED] > good fortune through truth*roaming:[EMAIL PROTECTED]*ICQ#2170994*U+($++) > TRA#6805*not all questions have answers*pseudogeek:P+++($++)L+($++)W=lm@b9 > trust no-one with an iq under 150*understand yourself before trying others -- Omer Ansari Network Engineer, Supernet PDSL Pakistan. Digital Fingerprint: A641 2DCB D180 4ACD CA00 DC4E 1698 847B E3CA A88F
begin:vcard n:Ansari;Omer tel;work:Supernet PDSL Ltd. x-mozilla-html:TRUE url:http://members.xoom.com/omeransari org:Supernet PDSL.;Internet Operations version:2.1 email;internet:[EMAIL PROTECTED] title:Network Engineer adr;quoted-printable:;;4th Floor, World Trade Center, =0D=0A10 Khayaban-e-Roomi Block-5, =0D=0AClifton,;Karachi;;75600;Pakistan fn:Omer Ansari end:vcard
