Hi,
I've a file as:
123 sc bl 38t4v 30:08 11:87 st ma
121 sc hhh 647g 11:09 88:89 st ks
...
I need to extract the value 30:08, 11:09. For this reason, I do:
my($sc)= "sc" ;
while(<>){
if(/^(\d+)\t$sc.*\t([^\t]+)\st/){
...
}
.....
}
I need that $2 would be 30:08 when read the first line.
What get I wrong?
Thanks.
I've a file as:
123 sc bl 38t4v 30:08 11:87 st ma
121 sc hhh 647g 11:09 88:89 st ks
...
I need to extract the value 30:08, 11:09. For this reason, I do:
my($sc)= "sc" ;
while(<>){
if(/^(\d+)\t$sc.*\t([^\t]+)\st/){
...
}
.....
}
I need that $2 would be 30:08 when read the first line.
What get I wrong?
Thanks.