HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] Another FaxDispatch script problem



Caleb Walker wrote:
How do I tell the first case to exit once it finds a match instead of continuing on to the next case block? Is there anything easy to do or do I have to make some if/then decisions to do this?

Both actually. You'll have to make if/then decisions. But it's easy. ;) Like:

SENDTO=
case "$SENDER" in
    ...
esac

if [ -z "$SENDTO" ] ; then
    case "$CIDNUMBER" in
        ...
    esac
fi


Rupert



____________________ HylaFAX(tm) Users Mailing List _______________________ To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




Project hosted by iFAX Solutions