Shell Script : Finding a duplicate Number from file ?
Thanks
AVK linux |
You should probably elaborate on your question. atleast write your question in the post!
|
you REALLY aren't making any friends with your multiple accounts and hopelessly vague threads. If you wish to remain a valued member of this site, please use it better.
|
|
dude, he's been asked twice already, and is probably never coming back to this thread... why bump it??
|
Hello Thread
Hello ,
i got some comments like i am not using this site in a better way . ? Moderator can you explain what is my mistake ? i will not repeat if its really violating the forum policy Thanks And iN a question i want ask : In bash , how can i find a duplicate number from one file . ex : file or variable has a following value 1 2 3 4 5 5 so how can i find a duplicate number with shell script in bash. Thanks AVKlinux |
sort file_to_find_dupes | uniq -d
|
well no need to use uniq at all, sort has a unique option too, -u i *think*.
and bgeddy, please sort out your signature, it's horrible and is distorting the page layouts from all the -'s |
Quote:
Quote:
|
All times are GMT -5. The time now is 10:28 PM. |