I cannot work out the syntax for removing a piece of text and I think it's due to one of the characters.
I believe it's the ' character<td style='border:1px solid black
I tried splitting it up as I thought I could escape it with \ but it doesn't work.
Code: Select all
cat ab.ht |sed 's/\'border//Ig'> ab.l
> '
sed: -e expression #1, char 14: unknown option to `s'
but the final > appears in the next cell when viewed from Libreoffice calc<td style='border:1px solid black>