--- reports/sendletter.sh 2007/08/12 21:48:34 1.5 +++ reports/sendletter.sh 2009/10/28 00:10:54 1.10 @@ -21,7 +21,7 @@ if ( grep html results.txt > letter1.txt s/<[^>]*>//g s/<[^>]*$//g s/^[^<]*>//g -s/<.*@.*>/
/g +s/<[a-zA-Z\._0-9-]*@[a-zA-Z\._0-9-]*>//g /^[ ]*$/d s/^\(.*\)$/ \1/' |head -5 >>letter.txt echo >> letter.txt