Hi,
Is it possible to be processing at certain point in a log file - and the skip to a previous point in the log file, such as a line containing 'word'? It doesn't matter where it occurs but must be before the current point.
Sorry if this doesn't make much since - I can post code if it...
sure;
END{
if (var1 < var2)
print "there are " var1 " invalid entries"
nawk -f /tmp/scripts/script
}
the script called script, I need to call in the eventuality that (var1 < var2)
Hi Vlad,
Thanks for the reply - however I need to call the script from within another awk script... not from the command line or from another shell script....
Jo
Hi,
If i assign the variable find, to the array;
arr[1]=find
should the following loop only print
for( i in arr)
print i
I can not get this to print the correct values; ie. the value from the variable find. How can I get this to work correctly?
Jo
Hi,
I am trying to pass the following value 01/Oct/2002:15:56:55 to a variable, however when I try to test it in my script I get the following error message....
nawk: nonterminated character class [01/Oct/2002:15:56:55
Should I convert the 01/Oct/2002:15:56:55 to string or something before...
Hi,
If I have a script which outputs values onto the console window; how do I read these back in using the same script. sort of like the command line input but it's a lot of different values, I'm using ksh & awk...
Thanks.
Thanks Ben,
I originally thought of working with just text files & serving them through iplanet ( my web server ), however I thinnk i need to search the file through a browser - read sections of the file etc. as opposed to the entire thing.... any ideas on how to do this / any source code...
Hi,
If I have a text file which contains information I wish to publish on a web server, is JSP a good method of doing this? If so, does anyone have any links which would assist me in this?
thanks in advance.
J.
Hi,
I know it is a kinda chance to mess with the NT registry, esp., when my experience is UNIX, however I am getting one entry in this Confiruration Wizard - when installing an agent on to IIS, it is giving the incorrect IP address to point to. It says currently configured to : 1.1.1.1 ( which...
Yep, thanks T. Found that, also found the PC's registry ( I'm more familar with Unix than NT ). Is there any other place such information would be stored?
Thanks,
Stu
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.