V
vkrish7
Hello all,
I am very new to PERL and need some help here to get this going...
I have about 100 text files and each text file looks something like
this:-
V_or_I Lo_BIT
5330 1
5380 5
5390 6
5400 9
5410 11
5420 15
Now i need to grab only the first column starting with (5330, skip
"V_or_I" line) go till the end of the file(Say till 5420) and write
this to another file(say dataappend.txt). Then open another text file(
out of 100 text files) do the same( ie. start from second line of the
file which will be in number format similar to 5330 and grab the first
column and append to dataappend.txt... Can any1 please show me how to
do this on perl?
Hoping for a reply!
Thanks,
Vijay
I am very new to PERL and need some help here to get this going...
I have about 100 text files and each text file looks something like
this:-
V_or_I Lo_BIT
5330 1
5380 5
5390 6
5400 9
5410 11
5420 15
Now i need to grab only the first column starting with (5330, skip
"V_or_I" line) go till the end of the file(Say till 5420) and write
this to another file(say dataappend.txt). Then open another text file(
out of 100 text files) do the same( ie. start from second line of the
file which will be in number format similar to 5330 and grab the first
column and append to dataappend.txt... Can any1 please show me how to
do this on perl?
Hoping for a reply!
Thanks,
Vijay