Le Mon Jul 11 2005 à 04:17:24PM +0200, Sébastien GALLET dit :
Salut,
Salut,
[...]
Le texte à supprimer dans le fichier est le suivant
<dictionary id="german">
<element title="Deutsch" language="DE"/>
<element title="German" language="EN"/>
<element debug="false"/>
<execute cmd="ispell -ddeutsch -a -P -H -Tlatin1"/>
</dictionary>
et pour faciliter la chose, il peut il y avoir un nombre quelconque de
ligne du style <element title="German" language="EN"/>.
Bref tout ce qu'il y a entre <dictionary id="german"> et </dictionary>
sed '/<dictionary id="german">/,/<\/dictionary>/d' ?