[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: formerly: emacs guy needs vi hack



Title: RE: formerly: emacs guy needs vi hack

> Thanks for all of the good info.  Okay, how about
> this: I ran this cron job on July 4th, and I shouldn't
> have, so I have a 500 line file with a dozen or so
> redundant entries.  Anybody know a good way to clean
> them out?  I sorted the file so the pairs show up but
> they're scattered.  No biggee.  I think my script will
> pass on the redundant ones without too much trouble. 

cat file | sort | uniq > newfile

Mark
Any opinions expressed in this message are not necessarily those of the company.