Hi there people!
I encountered a small promblem, witch is just the same as my other posts here on this forum...
Someting need to be done, witch is very time-consuming!
I have a few hondred text files (.txt) In those text files are items registered.
It looks like this:
SH0001002006,SHB000086877,item,DEMEERN,06/02/2009,,,MN,,06/02/2009 08:41:42
SH0001002005,SHB000086877,item,DEMEERN,06/02/2009,,,MN,,06/02/2009 08:41:42
SH0001002004,SHB000086877,item,DEMEERN,06/02/2009,,,MN,,06/02/2009 08:41:42
SH0001002003,SHB000086877,item,DEMEERN,06/02/2009,,,MN,,06/02/2009 08:41:42
SH0001002002,SHB000086877,item,DEMEERN,06/02/2009,,,MN,,06/02/2009 08:41:42
SH0001002001,SHB000086877,item,DEMEERN,06/02/2009,,,MN,,06/02/2009 08:41:43
SH0001002000,SHB000086877,item,DEMEERN,06/02/2009,,,MN,,06/02/2009 08:41:43
SH0001002030,NT_ZH5496.J,registeritem,DEMEERN,06/02/2009,,,MN,,06/02/2009 09:01:24
SH0001002031,NT_ZH5497.J,registeritem,DEMEERN,06/02/2009,,,MN,,06/02/2009 09:01:24
SH0001002032,NT_ZH5498.J,registeritem,DEMEERN,06/02/2009,,,MN,,06/02/2009 09:01:24
SH0001002033,NT_ZH5499.J,registeritem,DEMEERN,06/02/2009,,,MN,,06/02/2009 09:01:24
And so on for thousends of records per text file.
As you can see there is a difference between the lines.
I need something like an automatic counter, witch counts per text file al the records who have the word NT in it...
Can someone help me on this one?
Thanks all!
Kind regards,
Koen