I am doing some BASH shell scripting with curl. If my curl command returns any text, I know I have an error. This text returned by curl is usually in H
curl
If you want to remove all HTML tags and also all script tags (and their contents), you can use the following:
sed 's/