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
This is what I used, this makes the most sense, I shoulda thought of
this.. Duh. Thanks for the info.
-----Original Message-----
From: Rupert Weber-Henschel [mailto:rupert@xxxxxxxxxxxxxxxxxx]
Sent: Monday, December 17, 2007 2:23 PM
To: Caleb Walker
Cc: hylafax-users@xxxxxxxxxxx
Subject: 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*