run_check problem - Mailing list pgsql-hackers

From Keith Parks
Subject run_check problem
Date
Msg-id 199911242337.XAA23570@mtcc.demon.co.uk
Whole thread Raw
Responses Re: [HACKERS] run_check problem
Re: [HACKERS] run_check problem
List pgsql-hackers
Hi all,

I'm getting an error in run_check.sh on Solaris.


MULTIBYTE=;export MULTIBYTE; \
/bin/sh ./run_check.sh solaris_sparc
awk: syntax error near line 1
awk: illegal statement near line 1
awk: syntax error near line 2
awk: illegal statement near line 2
=============== Create ./tmp_check directory           ================
.
.


This is due to 2 problems.

1) The awk script is broken over 2 lines.
2) Solaris's awk does not seem to understand REs in split(). (nawk's OK)

1 is easy to fix, 2 is tricky - to remain portable.

Keith.




pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] Development installation fails
Next
From: wieck@debis.com (Jan Wieck)
Date:
Subject: lztext and parser