Re: Help on cleaning strings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Newbie]     [Audio]     [Hams]     [Kernel Newbies]     [Util Linux NG]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Device Drivers]     [Samba]     [Video 4 Linux]     [Git]     [Fedora Users]

  Powered by Linux