run_check problem

Поиск
Список
Период
Сортировка
От Keith Parks
Тема run_check problem
Дата
Msg-id 199911242337.XAA23570@mtcc.demon.co.uk
обсуждение исходный текст
Ответы Re: [HACKERS] run_check problem  (wieck@debis.com (Jan Wieck))
Re: [HACKERS] run_check problem  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] Development installation fails
Следующее
От: wieck@debis.com (Jan Wieck)
Дата:
Сообщение: lztext and parser