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] **ANNOUNCE** Second release candidate of 4.3.1 now available



* Jean-Pierre Radley <jpr@xxxxxxx> [061114 20:39]:
 
> Running 'bin/faxrcvd "recvq/fax000001600.tif" "tty2A" "000003116" ""',
> with awk:
> 
> 	awk: Syntax error
> 	 at line 6 of program <<
> 	    function p(varn ... >> in function p
> 	 context is
> 			printf >>>  "export <<<
> 		1 extra {
> 	awk: illegal statement
> 	 at line 6 of program <<
> 	    function p(varn ... >> in function p
> 	bin/faxrcvd: : cannot execute
> 	bin/faxrcvd: syntax error at line 3: `}' unexpected
> 
> with mawk:
> 
> 	mawk: line 6: runaway string constant "export ...
> 	bin/faxrcvd: : cannot execute
> 	bin/faxrcvd: syntax error at line 3: `}' unexpected
> 
> with gawk:
> 
> 	gawk: cmd. line:5:         printf "export
> 	gawk: cmd. line:5:                ^ unterminated string
> 	bin/faxrcvd: : cannot execute
> 	bin/faxrcvd: syntax error at line 3: `}' unexpected

It seems to be a problem with:
	/opt/K/SCO/Unix/6.0.0Ni/usr/bin/sh

I just can't figure out what the quoting rules on that sh seem to be.

Using bash seems to work.  /bin/sh works on the solaris systems I've
used works...

We should probably change the scripts in $SPOOL/bin to use the
@SCRIPT_SH@ instead of being hard-coded.

a.


-- 
Aidan Van Dyk                                             aidan@xxxxxxxx
Senior Software Developer                          +1 215 825-8700 x8103
iFAX Solutions, Inc.                                http://www.ifax.com/

Attachment: signature.asc
Description: Digital signature




Project hosted by iFAX Solutions