Re: coreutils-5.1.3 released: bug-fix-only, candidate for stable5.2.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Paul Eggert wrote:

> Autoconf is littered with code like this:
> 
>   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
>   ac_i=`echo "$ac_i" | sed "$ac_script"`
> 
> This passes an argument with two trailing slashes to 'sed'.
> Does it misbehave too, under OSF/Tru64 5.1?

It cannot possibly and if it did, then you gotta test for it,
then choke and die.  The slashes are all protected with quotes.
Were the last line to read:

>   ac_i=`echo "$ac_i" | sed $ac_script`

you would have a different situation.  Do those different situations exist?

> The bug seems to be pretty fundamental; I'm not sure it's worth coding
> around.  But if it is, then here's a proposed patch to the autoconf
> manual.

No.  Don't code around it.  Autoconf is slow enough.  :-)

Cheers - Bruce



[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux