using regex as snippsat suggests should be considered.
The reason my script didn't work with entire file, is probably this:
the sample you provided had TEST.TEXT as first line. I expect that the full file doesn't have that.
I also only checked for the name line at start of file. You probably have repeated names throughout the real file.
Either of there two conditions requires changes to my code.
is this the case?
The reason my script didn't work with entire file, is probably this:
the sample you provided had TEST.TEXT as first line. I expect that the full file doesn't have that.
I also only checked for the name line at start of file. You probably have repeated names throughout the real file.
Either of there two conditions requires changes to my code.
is this the case?