![]() |
|
|
|||||||
| Home | Forums | Register | Rules & FAQ | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. Shell Script Page. |
Other UNIX.COM Threads You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| unique sort contents of a variable | praveenbvarrier | Shell Programming and Scripting | 2 | 05-20-2008 04:12 AM |
| Sort and Unique in Perl | deepakwins | Shell Programming and Scripting | 20 | 02-11-2008 05:25 PM |
| Shell script to check the unique numbers in huge data | namishtiwari | Shell Programming and Scripting | 7 | 08-10-2007 06:38 AM |
| count data separate by comma | bucci | Shell Programming and Scripting | 10 | 04-25-2007 08:54 PM |
| Script to count unique number of user loged in | elchalateco | Shell Programming and Scripting | 1 | 09-30-2002 08:32 AM |
![]() |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
how to sort, and count unique data all at once?
Quote:
In the file called HITS.hits my results are displayed liked this: filename.hits: 35.114.42.113 Mon Nov 21 08:26:41 GMT 2005 What i want my code to do is to search all of the unique IP addresses. so count all the adresses that appear. but just count repeat IPs that are the same as 1. so if my file had: filename.hits: 11.111.11.111 filename.hits: 33.333.33.333 filename.hits: 22.222.22.222 filename.hits: 44.33.222.111 filename.hits: 11.111.11.111 the answer would be 4. |
| Forum Sponsor | ||
|
|
|
|||
|
menu script
ok i have tried this and it didnt work :s
maybe i just entered it wrong. i entered: Quote:
|