basically i would like to know the functionality of how shell acts while
parsing a file, and how it know EOF is reached while parsing .

and thanks for u r effort .

 hope  "sort file | uniq -d " solves my problem.

thanks ,
Srikrishnan



Brad Cox wrote:

> 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



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

Reply via email to