sed -i -e 's, href=\([^"][^>]*\)>, href="\1">,g' *.html The proper way to specify an attribute is to quote the val: theattrib="val"
2.9 KiB
2.9 KiB
sed -i -e 's, href=\([^"][^>]*\)>, href="\1">,g' *.html The proper way to specify an attribute is to quote the val: theattrib="val"