[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tidy with cfengine 2.0.a11
From: |
Ronan KERYELL |
Subject: |
Re: tidy with cfengine 2.0.a11 |
Date: |
17 Jul 2001 16:19:12 +0200 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
>>>>> On Tue, 17 Jul 2001 15:17:59 +0200 (MET DST), address@hidden said:
Mark> On 17 Jul, Ronan KERYELL wrote:
>> I have problems with tidy as in :
>>
>> tidy: solaris:: # Avoid cfengine to leave parasitic files during
>> crontab editing # because cron would thought of users adm.cfsaved
>> and root.cfsaved... /var/spool/cron/crontabs pattern=*.cfsaved
>> recurse=0 type=mtime size=0 age=0
>>
>> Looks like the size cannot be 0, 0b, 0k, 0m:
>>
>> Import file /usr/local/Solaris-8/share/cfengine/cf/cron.cf
>>
cf:rodomouls.enst-bretagne.fr:/usr/local/Solaris-8/share/cfengine/cf/cron.cf:13:
>> size value must be a decimal number with units m/b/k
>>
Mark> size=empty
Well. "empty" is an English word, not "a decimal number with units
m/b/k"... :-)
In the doc :
"The default size is zero so that any file which gets matched by another
critereon is deleted."
What I find strange is that one cannot specify explicitly this default
behaviour that is "size=0".
"empty" looks like another behaviour that is not what I want:
"However, if you want to single out only totally empty files, the empty
may be used."
Just relaxing the parser a little bit ?
Thank you,
--
Ronan KERYELL |\/
Labo Informatique Télécom |/) Tel: (+33|0) 2.29.00.14.15
ENST Bretagne, BP832 K Fax: (+33|0) 2.29.00.12.82
29285 BREST CEDEX |\ E-mail: address@hidden
FRANCE | \ http://www-info.enst-bretagne.fr/~keryell