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] 4.3.1rc2 on Solaris 9



Lee Howard wrote:
Matthew C. Aycock wrote:

    function p(varname,val)
    {
        gsub(/\\047/, "\047\\\\\047\047", val);
        printf "%s=\\047%s\\047\n",varname,val
        printf "export %s\n",varname
    }


Try putting a semicolon on the end of that first printf line:

printf "%s=\\047%s\\047\n",varname,val;

same result:


+ + /usr/local/hylafax/4.3.1/sbin/faxinfo -S -s %s=!=!=!=!=!=!=!=!= recvq/fax000000002.tif
/usr/5bin/nawk -F=!=!=!=!=!=!=!=!=
function p(varname,val)
{
gsub(/\047/, "\047\\\047\047", val);
printf "%s=\047%s\047\n",varname,val;
printf "export
/usr/5bin/nawk: syntax error at source line 6 in function p
context is
printf >>> "export <<<
/usr/5bin/nawk: illegal statement at source line 6 in function p
missing }
+
bin/faxrcvd: : cannot execute
+ eval %sn,varname
}
{ p(toupper(recvq/fax000000002.tif),); }
'
bin/faxrcvd: syntax error at line 3: `}' unexpected


--
Thanks,

Matt
----------
Matthew C. Aycock
Operating Systems Analyst/Developer, Lead
Dept Math/CS
Emory University, Atlanta, GA
Internet:  matt@xxxxxxxxxxxxxxxx 		


____________________ 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