On Thu, Oct 11, 2001 at 01:00:54PM +1000, Daniel van Raay <[EMAIL PROTECTED]> wrote: > [...] > It would be handy though to have a setting, similar to the existing > DebugTemplateExpansion, which when enabled would insert a > single '# Generated from /etc/e-smith/templates/etc/foo.bar/50bla' > line for each template fragment expanded.
I certainly like this idea (and have thought about doing it in the past). This seems a very clean solution to the issue - no comments in the general case, but comments when you really want to see them. The comments are also auto-generated which I like as it saves on duplication of information. When combined with the newer expand-template which allows you to specify the output file, this should provide lots of debugging information. > I'm sure there must be an instance where such a comment would > break a config file though... There sure will be ones for which # commands are not allowed. Oh how I wish Unix had a standard config file comment character. Gordon -- Gordon Rowell [EMAIL PROTECTED] VP Engineering Network Server Solutions Group http://www.e-smith.com Mitel Networks Corporation http://www.mitel.com -- Please report bugs to [EMAIL PROTECTED] Please mail [EMAIL PROTECTED] (only) to discuss security issues Support for registered customers and partners to [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org