I am looking fot tcl script which finds no of Errors/Warnings in a file
The file may have format like:
xx : Severity: Warning Occurrence: 2
yy :Severity: Error Occurrence: 2
ZZ:Severity: Error Occurrence: 4
at the end I want to have Warnings =2
Error =6
while { [ gets $fp line ]...
Hi,
As a experiment ,I tried puts command after first eval command,It does not print that,so prompt does not come back after first eval.Any suggestions?
eval [exec bsub -Ip -R "type=SPARC" -cwd /usr2/STATUS '/usr2/j/local/bin/perl5.6.1 /usr2/j/CAM_STATUS/auto_submit $c $T $E $review $Error...
Hi,
I am trying to executing perl script from tcl.Here are three commands.The varaibles are in the tcl script itself.mY first command works but not other 2.Do I need to do something else.
eval [exec bsub -Ip -R "type=SPARC" -cwd /usr2/STATUS '/usr2/j/local/bin/perl5.6.1...
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 { }...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.