Deleting double entry in a file

Hi,

I am having almost the same problem as junior member 'oupsforum' (refer to subjuct "deleting double entry in a log file"), only that I am using Sun Sorlaris Unix which the uniq command does not has the flag -w. So I am not able to ignore certain portion of the line when the uniq doing the comparison.

Is any one here farmiliar with Sun Unix, so that he/she can a give me a little help.

Thanks a lot,
Vincent

why dont you try what Pererabo said. most likely it is for ksh.

Uniq is not working for me case because the double entry is not excact duplicate of each other, only the ending parts are duplicated.

Any other suggestion ......

Thanks

From the SunOS uniq man page: