SED_RUN="sed -e '/^[A-Z0-9]*\/[0-9]*[LZ]:/s_ __g' -e 's_^\([A-Z0-9]*\)/[0-9]*[LZ]:_\1:_'" MAIL_ADDRESS="xlogin00@stud.fit.vutbr.cz" SMS_ADDRESS="0042…@sms.cz.o2.com" :0 cD * ^Subject: .*IS_FIT * !^Subject:.*Re: * !^FROM_DAEMON * !^FROM_MAILER { :0 fhw | formail -I "From: xlogin00@stud.fit.vutbr.cz" -I "To: 00420…@sms.cz.o2.com" :0 hb | sed -e '/^[A-Z0-9]*\/[0-9]*[LZ]:/s_ __g' -e 's_^\([A-Z0-9]*\)/[0-9]*[LZ]:_\1:_' | /usr/sbin/sendmail -oi -t }