Hi List,

I am trying to pass the first line of the PCAUSE in the subject of the mail
its not working although the echo works ok .Any ideas ?

NEWPCAUSE=`echo "$PCAUSE" | /bin/head -1`
echo "NewCause:         $NEWPCAUSE"

$MAIL -f "[email protected]" -s " $NEWPCAUSE (Model Name=$MNAME) (Model
Type=$MTYPE)" $RCVRS < /tmp/set_alarm.$PID
Regards,

Jack

---
To unsubscribe from spectrum, send email to [email protected] with the body: 
unsubscribe spectrum [email protected]

Reply via email to