![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | 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. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Proxy ARP Difficulties | TheMaskedMan | IP Networking | 7 | 11-02-2005 06:14 AM |
| Simple Network Program Difficulties | Mistwolf | High Level Programming | 2 | 03-19-2002 02:34 AM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
trying to cope with awk difficulties
Quote:
The data we are searching is populated in this way: ----IP---------DAY----MONTH----DATE--------TIME---------YEAR 12.3234.34-----Fri------Nov-------15-------18:05:14 GMT---2008 I want the user to be able to search for the data according to month and year. However, I cannot quite figure out how to do this. Above is the code i have and i can't understand what is wrong? If we try and put in the variable e.g Nov, it wont give us any results. It works only if instead of "$MONTH" we enter the month itself e.g Nov or Sep. Last edited by amatuer_lee_3; 05-09-2008 at 05:11 AM. |
| Forum Sponsor | ||
|
|
|
|||
|
thanks very much.
can you use AWK to search for unique IP's within this? so if the same IP logged on more than once it would list the one IP with all the hits? I already have the IP's in a populated file with the month and date. |