3 # strips out html tags and sends results to standard input.
4 function strip_html_code()
7 echo "----------------------------------------"
8 echo "Text for web page: $i"
9 sed -e 's/<[^>]*>//g' -e 's/ */ /g' -e 's/^ *//g' -e 's/^ *$//' <"$i" | grep -v '^$'
10 echo "----------------------------------------"