bug-cfengine
[Top][All Lists]
Advanced

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

Bug in tidy: wildcard not working as expected


From: Alexander Mattausch
Subject: Bug in tidy: wildcard not working as expected
Date: Wed, 17 Nov 2004 17:24:35 +0100
User-agent: Mozilla Thunderbird 0.9 (X11/20041104)

Hello!

I found a small bug in in the tidy section. I wanted to delete all inetd.conf files includung backup files (inetd.conf~, inetd.conf.bak etc) with this command:

tidy:
   /etc
   pattern=inetd.conf*
   age=0

This, however, does not delete the inetd.conf file itself. "pattern=inetd.conf" matches only inetd.conf, to include all backup copies "pattern=inetd.con*" is needed. The "*" glob thus matches 1 or more characters instead of 0 or more.

This applies to cfengine 2.1.11.

Regards,
Alex Mattausch

--
Dipl.-Phys. Alexander Mattausch
                             address@hidden
Lehrstuhl für theoretische Festkörperphysik   --   Uni Erlangen-Nürnberg
          ***   http://www.tfkp.physik.uni-erlangen.de ***





reply via email to

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