From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Mike Coleman <mkc(at)stowers-institute(dot)org>, pgsql-bugs(at)postgresql(dot)org, mkc(at)mathdogs(dot)com |
Subject: | Re: pg_ctl failure with older Bourne shells (use ${1:+"$@"}) |
Date: | 2002-07-19 15:32:41 |
Message-ID: | 200207191532.g6JFWf311237@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
Tom Lane wrote:
> > We only use "$@" in a few places so I am applying this patch.
>
> Could you check for other scripts where the same thing may have snuck
> in?
Yes, I checked, and I saw pgaccess using it too. I sent them a patch.
>
> BTW, O'Reilly's "Unix Power Tools" recommends
> ${1+"$@"}
> as the most portable replacement for "$@". Mike's version has :+
> which is not the same. My man page for the Bourne shell says
Changed.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Niranjan Shivaratri | 2002-07-20 02:29:32 | Postgres throwing exception for int8 datatype. |
Previous Message | Coleman, Michael | 2002-07-19 15:02:07 | Re: pg_ctl failure with older Bourne shells (use ${1:+"$@"}) |