Hi list, need to ask another question - thought I could manage it already myself.
I need to grep the number following the VALUE(=, of a line.
This is how the line looks like.
7: ATTR(PREFIX, "cpqCmcStatusTemp1"), VALUE(=,2);
Trojan helped me very much so far (see thread "Perl file parsing and extracting certain info")
I tried to use his example but didn't get far.
push @strings, $1 if(/^\s+\d+:\s+\$SPECIFIC\s+=\s+(\d+);/);
Any help appreiated
Dietmar
I need to grep the number following the VALUE(=, of a line.
This is how the line looks like.
7: ATTR(PREFIX, "cpqCmcStatusTemp1"), VALUE(=,2);
Trojan helped me very much so far (see thread "Perl file parsing and extracting certain info")
I tried to use his example but didn't get far.
push @strings, $1 if(/^\s+\d+:\s+\$SPECIFIC\s+=\s+(\d+);/);
Any help appreiated
Dietmar