Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group