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)