regexp in TCL
Posted: Wed May 04, 2005 6:04 am
I have a file with the following contents
I use this
Does anyone know how can I do this in a TCL script?
I need to check if the given pattern (by the user) matches an uncommented line in the file....some many lines
...
....
file1();
file2();
I use this
Code: Select all
egrep ^file1\(\) filename