On Thursday 25 April 2002 15:41, you 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.

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

Reply via email to