Thread: Re: [HACKERS] run_check problem

Re: [HACKERS] run_check problem

From
Keith Parks
Date:
>Tom Lane <tgl@sss.pgh.pa.us>
>
>Keith Parks <emkxp01@mtcc.demon.co.uk> writes:
>> 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)
>
>I don't think so --- the exact same split() construct is there in the
>old regress.sh test driver, same as it ever was.  I can believe the line
>break is a problem, but if there's another problem then you need to
>keep digging.
>
>Comparing the two scripts, I wonder if Jan broke it by adding '/bin/sh'
>to the invocation of config.guess.  Doesn't seem very likely, but...
>

Unfortunately, the old script was broken too. It's just that
I'd not noticed as I'd included a patch to change awk to nawk
my auto build script.

I tried different pernutations of quotes, brackets n'all last 
night and came to the conclusion that it couldn't be done with
solaris awk. (I'm not very patient though ;-( )

anyone for sed and tr ?



Re: [HACKERS] run_check problem

From
Bruce Momjian
Date:
> I tried different pernutations of quotes, brackets n'all last 
> night and came to the conclusion that it couldn't be done with
> solaris awk. (I'm not very patient though ;-( )
> 
> anyone for sed and tr ?

Sure.  Just don't use any non-standard tr character classes like :alpha:.

--  Bruce Momjian                        |  http://www.op.net/~candle maillist@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026