#!/bin/sh
# ~jhs/public_html/bin/.sh/telno_expt
# Purpose: FRITZ Extracts last line from router mail
# See Also:
# ~/.procmailrc_private_router_logs
# ~/public_html/src/bsd/jhs/bin/public/phone/index.lmth
# vi -c/Purpose: \
# ~/bin/.csh/telno_dsl \
# ~/bin/.csh/telno_dslx \
# ~/bin/.sh/telno \
# ~/bin/.sh/telno_2 \
# ~/bin/.sh/telno_expt \
# ~/bin/.sh/telno_router \
# ~/bin/.sh/telno_x
cd ~/mail/cron/router/call/muc
grep "Anruf von:" `/bin/ls -1 -t -r [0-9]* [a-z]*/[0-9]* | tail -1` | grep -v "Anruf von:$"
# Maybe ~/.procmailrc_private_router_logs should also append a copy to a common log that this shell can grep
# as well as further seperating into anonymous, name, number