Hi CaKiwi,
This is what I have used to extract all 5 records successfuly.
BEGIN {print "computer one two three...n"}
/1000/ { print $0 }
Thanks for your help
Simon
Hi CaKiwi,
Thanks, this does indeed work to pick up the first record it comes to but it does not pick up the rest and I think I have found out the reason why.
There are at least 5 records in the log file and it only pulls 1 and then stops but I found the 10,000 record does not always occur on...
Hi CaKiwi,
Yes you are right my programme is testing for the 5th field which contains the value "1035" and also the 10th field which contains the value "10000", sorry I put 11th field by mistake, I check if both are true in each event record and if so then I wish to extract...
Could you please tell me how I could extract all the records from a text file with say the 11 field as being 10000 e.g $11.
Sample::::
2/12/2003 14:15:13 4 2 1053 MSExchangeDS domain\administrator server /o=abc/ou=123/cn=Recipients/cn=test1234. 10000
The 10,000 may be a last field...
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.