On Thursday, November 15, 2001, at 06:52 AM, srikrishnan wrote:
> I am processing a file which may contain duplicate entries of valid data 
> .. i
> have to check whether any entry in the same file gets repeated till EOF is
> reached.

Try
        sort file | uniq -d



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to