Hello friends,
I am exploring write now the PERL language and i must say that i am very excited!!!!
My first personal goal is to write a simple program in perl that does the following :
It reads the info from file1.txt. File1 structure is:
r 250 4 26 960 0 0 88 x1*
There are 64000lines that have the above format with x1....x64000.
I would like to take all the x1..x64000 ONLY and to print them in a new file which i named file2.txt.
Therefore file2.txt will have only the x1...x64000.
Could u please guide me on how to do that?
I have serious problems since i do not know how to recognize the end of each line...
regards
kostas
I am exploring write now the PERL language and i must say that i am very excited!!!!
My first personal goal is to write a simple program in perl that does the following :
It reads the info from file1.txt. File1 structure is:
r 250 4 26 960 0 0 88 x1*
There are 64000lines that have the above format with x1....x64000.
I would like to take all the x1..x64000 ONLY and to print them in a new file which i named file2.txt.
Therefore file2.txt will have only the x1...x64000.
Could u please guide me on how to do that?
I have serious problems since i do not know how to recognize the end of each line...
regards
kostas