Re: Help on cleaning strings

Jose Celestino <[email protected]>
Newsgroups org.kernel.vger.linux-admin
Message-ID <[email protected]>
Words by Mário Gamito [Wed, Aug 22, 2007 at 08:07:56PM +0100]:
>  Hi,
> 
>  Sorry for the newbie question, but I've searche over the web and couldn' find an answer to what I need.
> 

Not nearly hard enough.

>  I need to clean all the ocorrences of the "##Z/" string (without the quotes), from a series of .html files located in a single directory.
> 
>  Can someone help me, please ?
> 

Yes.

cd dir
for i in *.html;do vi +%s,##Z/,,g +x $i; done

-- 
Jose Celestino
----------------------------------------------------------------
http://www.msversus.org/     ; http://techp.org/petition/show/1
http://www.vinc17.org/noswpat.en.html
----------------------------------------------------------------
"And on the trillionth day, Man created Gods." -- Thomas D. Pate
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.