I am grepping an XML File, which gives me output like this:
data more data ...
Note, this is a fl
Use html2text command-line tool, which converts html into plain text.
html2text
Alternatively you may try ex-way:
ex -s +'%s/<[^>].\{-}>//ge' +%p +q! file.txt
or:
cat file.txt | ex -s +'%s/<[^>].\{-}>//ge' +%p +q! /dev/stdin