version 1.4, 2003/07/18 01:50: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/</</g |
s/<[a-zA-Z\._0-9-]*@[a-zA-Z\._0-9-]*>/<address>/g |
s/>/>/g |
|
/^[ ]*$/d |
/^[ ]*$/d |
s/^\(.*\)$/ \1/' |head -5 >>letter.txt |
s/^\(.*\)$/ \1/' |head -5 >>letter.txt |
echo >> letter.txt |
echo >> letter.txt |
Line 32 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 /usr/local/share/games/fortunes >> letter.txt |
# fortune lec >> letter.txt |
mail -s "Novosti v letopisi" $ADDRESS <letter.txt |
mail -s "Novosti v letopisi" $ADDRESS <letter.txt |
fi |
fi |