I need
sed to add a "/>" to the end of a line that contains/starts with <meta.
current line is
HTML Code:
<meta name="keywords" content="kayword 1, kwyword2">
and should be
HTML Code:
<meta name="keywords" content="kayword 1, kwyword2 " />
i need something like this?
Code:
find . -name "*.html" -print0 | xargs -0 sed -i 's/<meta *>/<meta * \/>/g'
any help would be appreciated
