Want a tcl script to compare a string in a file ignoring white spaces

Hi ,

I want a tcl script to search a string ignoring whitespaces in a .log file . It should correctly match . The string are as follows

"Output-Maps 1 1 0 0 0" 1

and
Active Intermediate-Maps 0 0 0 1 0" 2

It should correctly match. If i change the string to
"Output-Maps 1 0 0 0 0" 1

it shouldn't match.

Please provide me the script. It's urgent.

Thanks
Kulua

No one is going to provide you with a script if you show no effort yourself.

And, please, this forum is for contacting moderators and admins.

Hello!

1 Like