![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | 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 and shell scripting languages here. |
More UNIX and Linux Forum Topics 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 08:12 AM |
| Sort and Unique in Perl | deepakwins | Shell Programming and Scripting | 20 | 02-11-2008 09:25 PM |
| Shell script to check the unique numbers in huge data | namishtiwari | Shell Programming and Scripting | 7 | 08-10-2007 10:38 AM |
| count data separate by comma | bucci | Shell Programming and Scripting | 10 | 04-26-2007 12:54 AM |
| Script to count unique number of user loged in | elchalateco | Shell Programming and Scripting | 1 | 09-30-2002 12:32 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate 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. |
| Bookmarks |
| Tags |
| linux, solaris, ubuntu |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|