help-cfengine
[Top][All Lists]
Advanced

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

Re: editfiles wildcard question


From: Ed Brown
Subject: Re: editfiles wildcard question
Date: Fri, 21 Jan 2005 12:07:53 -0700

The example in the tutorial, like the sample below, is missing quotes
around the Include and Exclude expressions. 

-Ed


On Fri, 2005-01-21 at 11:02, ANDERSON RUSSELL D (ANDY) wrote:
> Can someone help me with using wildcards in editfiles?
> I have a bunch of files such as one.txt, two.txt, three.txt and need to 
> change a line in all of them.
> When I use this, I get an error: "Multiple filenames in editfiles"
> This leads me to believe it wants to resolve to a single filename?
> 
> editfiles:
>   { /tmp/testdir
>   Include *.txt
>   Exclude bla.*
>   Ignore "."
>   Ignore ".."
>   Recurse 6
>   ReplaceAll "one" With "two"
>   }
> 
> Thanks
> 
> 
> 
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-cfengine




reply via email to

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