run_check problem

From: Keith Parks <emkxp01(at)mtcc(dot)demon(dot)co(dot)uk>
To: hackers(at)postgresql(dot)org
Subject: run_check problem
Date: 1999-11-24 23:37:43
Message-ID: 199911242337.XAA23570@mtcc.demon.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jan Wieck 1999-11-25 00:09:53 lztext and parser
Previous Message Tom Lane 1999-11-24 19:39:08 Re: [HACKERS] Development installation fails