As you can see, in the file there is some name and followed by the name is some identifier. These identifiers have same identification alphabet (A, B, C until Z) if they belong to the same type.
My task is to extract all the names which belong to the same alphabet and store them in separate files.
---------- Post updated at 11:11 AM ---------- Previous update was at 10:17 AM ----------
I am now trying to find those lines which have ZERO dot and store those lines in A.dat and then the lines which have 1 dot store them in B.dat and two dots store them in C.dat and so on until I reach the final number of dots at maximum they are 11 and less.