Hands-on task
This task is step 14 of the course “sed: the stream editor”
sed: plain-text version of an email
The mailing needs a plain-text version of the HTML email /root/mail.html. Remove all tags — <…>, including tags with attributes like <a href="…"> — keeping the text between them as is. Write the result to /root/mail.txt.
What you'll practise:
- sed -E
- negated class
- quantifier greediness
- g flag