![]() |
Lee Howard typed (on Tue, Dec 19, 2006 at 09:53:41AM -0800):
| Jean-Pierre Radley wrote:
| | >A mysterious error, since the shell grammar sure looks OK to me:
| >
| > jpradley:boss 392% bin/notify 'doneq/q1233' 'failed' '1:15'
| > bin/notify: syntax error at line 617: `done' unexpected
| | Ah, well, done is a keyword in sh, and so I can conceivably understand | why this...
| | case "$WHY" in
| done)
| notify_mail "$jobtag $DICTTO $DESTINATION $DICTCOMPLETED" | "$mailaddr";;
| failed)
| | ... could be a problem. If you're into investigating this, put | double-quotes around that "done" and see how it goes with sh once again.
Yes, using
"done")
works under /bin/sh.
____________________ 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*