Re: [HACKERS] regress.sh

From: wieck(at)debis(dot)com (Jan Wieck)
To: tgl(at)sss(dot)pgh(dot)pa(dot)us (Tom Lane)
Cc: jwieck(at)debis(dot)com, prlw1(at)cam(dot)ac(dot)uk, pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] regress.sh
Date: 1999-06-14 14:59:07
Message-ID: m10tYCZ-0003kiC@orion.SAPserv.Hamburg.dsh.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>
> wieck(at)debis(dot)com (Jan Wieck) writes:
> > Is it required that variables local in regress.sh have upper
> > case? If so, why?
>
> Nope, you just plain broke it. The only use of the script's $1
> parameter is *above* where you inserted portname=$1 (the test to
> see if on windows).

Uhhhh - and there where times where I wrote awk scripts who's
output got piped into 'groff -p' to produce statistical
reports with graphics - hurts to see that I'm no real
programmer anymore :-(

>
> The $1 in the awk script is awk's own meaning of $1. Since it is
> inside single quotes, the shell doesn't substitute for it.
>
> I strongly suggest patching this before 6.5 ...

No comment other that "sorry".

Jan

--

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#========================================= wieck(at)debis(dot)com (Jan Wieck) #

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Lockhart 1999-06-14 15:10:07 Re: [HACKERS] Postgres 6.5 beta2 and beta3 problem
Previous Message Thomas Lockhart 1999-06-14 14:54:51 Re: [HACKERS] regress.sh