Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Sep 2002 10:17:10 +0200
From:      Roman Neuhauser <neuhauser@bellavista.cz>
To:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   periodic diff format
Message-ID:  <20020917081710.GC307@freepuppy.bellavista.cz>

next in thread | raw e-mail | index | archive | help
Hi there,

various /etc/periodic scripts mail root diffs of a few config files etc.
grep on my (quite fresh) STABLE box shows that except for
/etc/periodic/daily/210.backup-aliases, all the diff invocations use the
old format. I have two issues with this: first, all the diffs should be
in the same format, and second, root should be able to select their
preferred format in /etc/periodic.conf (yes, i have difficulty reading
anything but unified diffs).

Now, before I start working on a patch, would such a change be actually
welcome, or am I going to get shot down?

And, what would the preferred interface be? Most of periodic.conf knobs
are bools, but I'm not sure
diff_{context,traditional,unified}_format="{YES,NO}"
is better than
diff_format="{context,traditional,unified}"

What do you think?

-- 
begin 666 nonexistent.vbs
FreeBSD 4.6-STABLE
9:57AM up 12:47, 8 users, load averages: 0.10, 0.08, 0.03
end

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020917081710.GC307>