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

Re: configure.in / xml / quoting trouble

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Patrick Welche <prlw1(at)newn(dot)cam(dot)ac(dot)uk>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: configure.in / xml / quoting trouble
Date: 2007-06-29 16:24:09
Message-ID: 3527.1183134249@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-patches
Patrick Welche <prlw1(at)newn(dot)cam(dot)ac(dot)uk> writes:
> The second part is a shell quoting problem. As the printf is inside
> single quotes, the double quotes don't need to be escaped. My awk
> received the backslashes and complained.

I've applied this part.  Turned out there was a second bug in the same
area: autoconf was stripping the []'s out of the sed regexp, causing
it to fail to do anything.  Apparently passing a string like "3devel"
to awk's "%d" format gets you just "3", but I wonder how portable that
behavior is either.

			regards, tom lane

In response to

pgsql-patches by date

Next:From: Tom LaneDate: 2007-06-29 16:35:44
Subject: Re: configure.in / xml / quoting trouble
Previous:From: Dave PageDate: 2007-06-29 15:19:27
Subject: Re: WIP CSV logs

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