Re: little anoyance with configure - Mailing list pgsql-hackers

From ohp@pyrenet.fr
Subject Re: little anoyance with configure
Date
Msg-id Pine.UW2.4.53.0611301932460.15433@sun.pyrenet
Whole thread Raw
In response to Re: little anoyance with configure  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: little anoyance with configure  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Thu, 30 Nov 2006, Peter Eisentraut wrote:

> Date: Thu, 30 Nov 2006 14:43:24 +0100
> From: Peter Eisentraut <peter_e@gmx.net>
> To: pgsql-hackers@postgresql.org, ohp@pyrenet.fr
> Subject: Re: [HACKERS] little anoyance with configure
>
> ohp@pyrenet.fr wrote:
> > UX:tr: ERROR: Incorrect usage
> > UX:tr: TO FIX: Usage:
> >     tr [-cs] string1 string2
> >     tr -s[-c] string1
> >     tr -d[-c] string1
> >     tr -ds[-c] string1 string2
> > configure: WARNING: option ignored: --
>
> That would appear to be this call:
>
> pgac_txt=`echo $pgac_var | tr '_' '-'`
>
> (four lines from the bottom of configure)  But I don't see how this
> contradicts the correct usage synopses offered by the error output.
>
> Second thought ... it's interpreting the '-' as an option?  Does this
> work:
>
> ... | tr 'a_b' 'a-b'
>
> ?
>
>
YES!
-- 
Olivier PRENANT                    Tel: +33-5-61-50-97-00 (Work)
15, Chemin des Monges                +33-5-61-50-97-01 (Fax)
31190 AUTERIVE                       +33-6-07-63-80-64 (GSM)
FRANCE                          Email: ohp@pyrenet.fr
------------------------------------------------------------------------------
Make your life a dream, make your dream a reality. (St Exupery)


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Shutting down a warm standby database in
Next
From: Martijn van Oosterhout
Date:
Subject: Re: Order of checking for readline support libraries