help-cfengine
[Top][All Lists]
Advanced

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

RE: ReplaceAll WARNING


From: Steve Bergeon
Subject: RE: ReplaceAll WARNING
Date: Fri, 25 Apr 2003 12:16:54 -0500

It's telling you that there's an infinite loop and it will never work. Since the
first part is a regex, try escaping all the '-'s (indicating a range) with '\'.

> -----Original Message-----
> From: help-cfengine-bounces+sbergeon=encephalon.com@gnu.org [mailto:help-
> cfengine-bounces+sbergeon=encephalon.com@gnu.org] On Behalf Of Eva Hocks
> Sent: Friday, April 25, 2003 11:44 AM
> To: help-cfengine@gnu.org
> Subject: ReplaceAll WARNING
> 
> 
> 
> Is there any way to get rid of the warning for ReplaceAll if the replace
> contains the search string? As the string is already in place I do not
> need to be warned about it.
> 
> 
> cfengine:b80n05: WARNING: Non-convergent edit ReplaceAll [options    =
> -bh:4,-bpT:0x10000000,-bpD:0x20000000,-qnolm] With [options    =
> -bh:4,-bpT:0x10000000,-bpD:0x20000000]
> cfengine:b80n05: Line begins [          options    = -bh:4,-bpT:0x1000]
> cfengine:b80n05: Replace contains search string - edit was not done
> cfengine:b80n05: Error editing file /etc/xlf.cfg
> 
> 
> Thanks,
> Eva
> 
> 
> 
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-cfengine

-- 
All forms that perish other forms supply,
(By turns we catch the vital breath, and die)
Like bubbles on the sea of matter born,
They rise, they break, and to that sea return.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]