|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
AWK help needed
Hi ,
I am new to AWK. I need to write a program which will search my logfiles for the given string and let me know the count and whether that is exeisting in that or not. eg: serch key word is "java.lang.NullPointer". How could i do that. I want to give list of exception names and search. If code is given that will be a great help. Thanks in advance, Ashok |
|
#2
|
|||
|
|||
|
try grep for this
grep -c grep -n see manual pages |
|
#3
|
|||
|
|||
|
I wanted to use AWK and try to generate a report kind of stuff....
|
|
#4
|
|||
|
|||
|
the Q was
Quote:
next time post a precise request. i will not give awk lessons on line, try something like /matchstring/{ do something; } the awk programming language by aho, kernighan, weinberger by addison wesley ISBN 0-201-07981-X (my version: 1988) is a great book. NOTA: on large files,i would NOT use awk, read awk's man pages to understand why. Last edited by guggach : January 11th, 2005 at 04:41 AM. Reason: changes |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > UNIX Help > AWK help needed |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|