3 #addr="http://sms.paegas.cz/wwwsms/index.phtml"
8 hd=`sed -n -e '/^\$/=' -e '/^\$/q' <$t`
11 head -n $hd $t|sed -n \
12 -e 's/^Subject: *\(.*[^ ]\) *$/S:\1/p' \
13 -e 's/^From: *\(.*[^ ]\) *$/F:\1/p'
16 -e 's/^.*wr\(ote\|ites\):$//' \
18 `"|tr '\n' ' '|sed 's/\([^ ]\) *\( [^ ]\)/\1\2/g' \
19 |sed 's/^ *\([^ ].*\)/\1/'|sed 's/\(.*[^ ]\) *$/\1/') \
20 |head -c $maxlen >$t.2
22 #(echo -n "num=$num&text="
24 #echo -e "\n---")|lynx -post_data $addr >/dev/null #>>~/Mail/smsn.out
25 (echo -e "From: @.\n";cat $t.2)|/usr/sbin/sendmail jan.kratochvil@sms.paegas.cz