Hi Perl guru's My name is ABHI and i am almost new on perl i need help for below mentioned issue. Well, I have one file(xyz.txt) containing following text
LT19-10-13-400922 --TID1-3039@10.100.14.163 1--RequestREGISTER
LT19-10-13-405432 --TID1-3039@10.100.14.163 1--Response100
LT19-10-13-410015 --TID1-3039@10.100.14.163 1--Response401
LT19-10-13-415481 --TID1-3039@10.100.14.163 2--RequestREGISTER
LT19-10-13-419800 --TID1-3039@10.100.14.163 2--Response100
......................................
LT19-11-23-201675 --TID1107-3039@10.100.14.163 1--RequestREGISTER
were LT is logtime (hr.,min.,sec,usec) TID is transaction ID and 3rd and last is either REGISTER, 200, 100 or 401. Now for first 10 sec.logtime . i.e. from LT 19-10-13-400922 to 19-10-23-234561
I want no. of occurrence of REGISTER, 200,100 and 401 and also no. of occurence of unique TID.
guys i need your help infact a temaplate code because i am not a perl guru.
I hope that you guys will help me out to fix this issue. Thanks in advance. ABHI
In reply to Extraction n Airthmatic operation Fun on TEXTFILE by singhabsk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |