Sorry for my previous post,
my answer is below

On Thursday 25 April 2002 15:41, Boris Zentner wrote:
| Hi,
|
| Am Donnerstag, 25. April 2002 15:20 hast Du geschrieben:
| > exact, that's it.
| > but i've got the solution to that problem (i forgot to put the trailing
| > 's' in my post, but i used it and it did not work)
| > the solution is:
| > perl -p0i -e 's/sub html_base.*//s' *.cgi
|
| and it happily removes from everything that starts with html_base to the
| end of the file. This is wrong.
|
| sub html_baseball {
|
| better you write
| perl -p0i -e 's/sub html_base\s*{.*//s' *.cgi
|
| > it does exactly what i need, and is very fast.

of course you're right, in the case that some functions start with the same 
name, but this was not the case.
so it worked and that problem is over now.

thanks for your answer

Alain Scieur

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to