At 08:57 11/9/2002 -0300, you wrote:
[...]
>Ex. No codigo HTML esta� assim:
><a href=http://www.siteantigo.com.br>
>e preciso passar para:
><a href=http://www.sitenovo.com.br>
>Recursivamente, pois existem varios sub-diretorios com htmls.
[...]

Recursivamente... vamos l�:

------8<------------------
#!/bin/sh

tmp=`find . -name "*.html"`

sed -e s/siteantigo/sitenovo/g $tmp > $tmp.2
mv -f $tmp.2 $tmp
------8<------------------



--
[]s,
Dorian Bolivar

Attachment: msg00008/pgp00000.pgp
Description: PGP signature

Responder a