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

Re: devenu remplacer caractère "</table>'" par



Le 09/10/2015 12:39, andre_debian@numericable.fr a écrit :
On Friday 09 October 2015 11:53:26 françois wrote:
Le 09/10/2015 11:09, andre_debian@numericable.fr a écrit :
Je me permets de rebondir par une question très proche :
Comment remplacer cette chaîne dans un fichier :
</table>'  par </table>
(retirer juste l'apostrophe après </table>)
J'ai bien tenté ça, mais ça marche pas :
sed   -i   "s#</table>'#</table>#g"   fichier
Je précise que </table>'  se trouve tout à la fin du fichier.
André
Chez moi (gnome-terminal) ça marche :
sed -r "s/<\/table>'/<\/table>/g" (en échappant bien le slash de /table)
François
Merci, je vais tester ASAP,

mais pourquoi répondre en privé ?
Parce que je n'ai pas fait attention à appuyer sur le bon bouton...
François


Reply to: