With GnuWin32 Grep (curent ver.) in not working (for me).
I whant to search for MyFunction() regardless what ar the parameters betwee (...) I think I should use the grep with regex, but I know little about regex.
Doru
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
how can I use grep to find: myFunction(any_string_or_char) in a file?
Thank you
Doru.
$ cat tst.txt
MyFunction( "some text" );
AnotherFunction( "some more text" );
MyFunction( "yet more text" );
$ grep "MyFunction(.*)" tst.txt
MyFunction( "some text" );
MyFunction( "yet more text" );
Works for me.
HTH.
Keith.
With GnuWin32 Grep (curent ver.) in not working (for me).
I whant to search for MyFunction() regardless what ar the parameters betwee (...) I think I should use the grep with regex, but I know little about regex.
Doru