I have a very LARGE text file which has interspersed 2000 unique codes throughout alot of junk I don't care about. The task of identifying these codes was dumped on my desk.
My first thought was "Why didn't you learn Perl when you had some free time?". My second was, this should be an easy task, grab the "Learning Perl on Win32 Systems" off the shelf and you can find an answer.
Well, apparantly I am to dense and have too little experience with programming to achieve what I need to do before my boss comes looking for the list of codes. I am sure this is an real newbie/idiot question, but here goes;
source.txt contains strings that are always 18 characters in length. They also always begin with the characters "EANCM" followed by any 13 numbers. They also always have at least one whitespace after them. I need to parse the file and copy them out to another file.
Any help will be appreciated and I intend to continue to pursue my adventures in Perl, I am just jammed up for time on this one and deperately need help.
My first thought was "Why didn't you learn Perl when you had some free time?". My second was, this should be an easy task, grab the "Learning Perl on Win32 Systems" off the shelf and you can find an answer.
Well, apparantly I am to dense and have too little experience with programming to achieve what I need to do before my boss comes looking for the list of codes. I am sure this is an real newbie/idiot question, but here goes;
source.txt contains strings that are always 18 characters in length. They also always begin with the characters "EANCM" followed by any 13 numbers. They also always have at least one whitespace after them. I need to parse the file and copy them out to another file.
Any help will be appreciated and I intend to continue to pursue my adventures in Perl, I am just jammed up for time on this one and deperately need help.