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

Re: [HS] sed



Le Thu, 14 Jan 2016 11:06:22 +0100 (CET),
Sébastien Dinot <sebastien.dinot@free.fr> a écrit :

> ----- Mail original -----
> > Dans plusieurs centaines de fichiers, je souhaite
> > supprimer cette chaîne de caractère :
> > </td></tr><tr><td class=\"fmb\" style=\"padding:2px\">
> > 
> > Elle possède des caractères spéciaux, j'y arrive pas avec "sed",  
> 
> sed -e 's,</td></tr><tr><td class=\\"fmb\\"
> style=\\"padding:2px\\">,,g' fichier
> 
> Sébastien
> 
> 

bonjour,

pourquoi ne pas vouloir employer (?) :

- unhtml
- html2text

http://www.linuxcertif.com/man/1/unhtml/
http://pwet.fr/man/linux/commandes/html2text

suffit de gratter un peut plus profondément ...

slt
bernard


Reply to: