On Sun, 2003-02-02 at 21:19, magnet wrote:
> On Sunday 02 Feb 2003 9:55 am, Benjamin Jeeves wrote:
> > Perl will do it but you will need to make the scripted or there might be
> > one on the net have a look
> >
> > On Sunday 02 Feb 2003 9:46 am, magnet wrote:
> > > I have a large text file containing thousands of url's, one per line, and
> > > am trying to find a suitable utility that will strip out identical lines
> > > and leave a condensed file. Can anyone suggest a good solution?
> > > Thanks :)
>
> Perl... hmm, didn't think of that. I know squat about writing perl so I'm off
> to google for a solution. Cheers for the *very* prompt reply Benjamin! :))
I've just done a little reading and it appears that this can be done
very simply at the command prompt...
try:
sort filename | uniq > sortedfilename
Regards,
John...
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com