> From: Peter Eisentraut <[EMAIL PROTECTED]>
> Date: Fri, 20 Sep 2002 18:35:51 +0200 (CEST)
> 
> When a substitution variable FOO contains the string @FOO@, config.status
> runs forever.

Good catch!  Isn't quoting fun?


> Looking at the code, changing
> 
> s,@FOO@,@FOO@,;t t
> 
> to
> 
> s,@FOO@,@FOO@,g
> 
> would work

That won't handle FOO='@BAR@' and BAR='@FOO@' correctly, and there are
several other counterexamples like that.

The right fix is to escape @ in the right hand side, but this is a bit
trickier.


Reply via email to