[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cfengine horror stories
From: |
Mark . Burgess |
Subject: |
Re: cfengine horror stories |
Date: |
Wed, 4 Dec 2002 22:54:38 +0100 (MET) |
Marion - I just don't have time to fix the real cause of this.
This was a quick patch for you. You have a choice:
* Use the old, and don't type //tmp
* Use the new and don't type // elsewhere
Sorry - that's all I can do for now
M
On 4 Dec, Marion Hakanson wrote:
> I've just noticed another problem with cfengine-2.0.5pre2, which did not
> occur with v 2.0.5pre. The change to clean up "//" occurrences in pathnames
> messes up other strings which are _supposed_ to have "//" in them. Here's
> an example, where the string is a "sed" expression:
>
> . . .
> control:
> testvar = ( s?//?++? )
> . . .
>
>
> Here's v2.0.5pre, using "-d 0":
>
> . . .
> HandleId(testvar) in action Control Defintions:
> RecordMacroId(testvar)
> LEFTBRACK
> LEX: wildcard, I think I lov you...but i wanna know for sure
> wildcard = (s?//?++?)
> AddMacroValue(testvar=s?//?++?)
> Added Macro at hash address 507: testvar=s?//?++?
> RIGHTBRACK
> . . .
>
>
> And here's v2.0.5pre2:
>
> . . .
> HandleId(testvar) in action Control Defintions:
> RecordMacroId(testvar)
> LEFTBRACK
> LEX: wildcard, I think I lov you...but i wanna know for sure
> wildcard = (s?//?++?)
> AddMacroValue(testvar=s?//?++?)
> Added Macro at hash address 507: testvar=s?/?++?
> RIGHTBRACK
> . . .
>
>
> Help!
>
> Regards,
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272 Email: address@hidden
Fax : +47 22453205 WWW : http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~