On Tuesday 10 October 2006 15:47, Nicolas Borboën wrote:

> s/Réponses/Solutions/g

recode UTF8..latin-1

Soit :

str="$(echo 's/Réponses/Solutions/g' | recode UTF8..latin-1)"

find ./* -type f -exec sed -i "${str}" {} \;

Il y a d'autres manieres, mais je trouve celle-ci marrante :-)

dc

_______________________________________________
gull mailing list
[email protected]
http://lists.alphanet.ch/mailman/listinfo/gull

Répondre à