Hi,
I have extracted a line from a file,Now I want to put particular string from that .How to do that.Please help.
For example:
I have extracted a line
CDC Status: CDC-P1 not complete
using command
if { [ regexp "^# CDC Status:" $line ] } {
regsub -all {(\s+)} $line { } temp_sta
Now I want to set a variable to CDC-P1 not complete .
How to extract that.
Thanks
I have extracted a line from a file,Now I want to put particular string from that .How to do that.Please help.
For example:
I have extracted a line
CDC Status: CDC-P1 not complete
using command
if { [ regexp "^# CDC Status:" $line ] } {
regsub -all {(\s+)} $line { } temp_sta
Now I want to set a variable to CDC-P1 not complete .
How to extract that.
Thanks