version 1.5, 2007/08/12 21:48:34
|
version 1.11, 2010/03/04 16:31:46
|
Line 21 if ( grep html results.txt > letter1.txt
|
Line 21 if ( grep html results.txt > letter1.txt
|
s/<[^>]*>//g |
s/<[^>]*>//g |
s/<[^>]*$//g |
s/<[^>]*$//g |
s/^[^<]*>//g |
s/^[^<]*>//g |
s/<.*@.*>/<address>/g |
s/<[a-zA-Z\._0-9-]*@[a-zA-Z\._0-9-]*>/<address>/g |
/^[ ]*$/d |
/^[ ]*$/d |
s/^\(.*\)$/ \1/' |head -5 >>letter.txt |
s/^\(.*\)$/ \1/' |head -5 >>letter.txt |
echo >> letter.txt |
echo >> letter.txt |
Line 31 s/^\(.*\)$/ \1/' |head -5 >>letter.tx
|
Line 31 s/^\(.*\)$/ \1/' |head -5 >>letter.tx
|
echo "--" >> letter.txt |
echo "--" >> letter.txt |
echo "Ваш робот" >> letter.txt |
echo "Ваш робот" >> letter.txt |
echo >> letter.txt |
echo >> letter.txt |
fortune lec >> letter.txt |
# fortune lec >> letter.txt |
mail -s "Novosti v letopisi" $ADDRESS <letter.txt |
mail -s "Novosti v letopisi" $ADDRESS <letter.txt |
fi |
fi |