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

Re: conf-files diff

martin f krafft <madduck@madduck.net> writes:

> probably not unlike many others, i tend to roll my own named.conf for
> bind, my own main.cf for postfix, and several other daemons are also
> configured by hand.
> every time a (dist-)upgrade updates one of the daemons, it'll ask me
> whether i want to overwrite my conf-file. i always choose 'no'
> (obviously), but not after inspecting the diff output very carefully.
> after all, i want to be informed about new config file options, changes
> to the defaults, and other such stuff.
> however, a diff of the debian conf-file versus my own is usually quite
> confusing. if i had a version of the debian conf-file from the previous
> package, that would be much easier.

	If you answered N previously, you should have a foo.dpkg-old
        file. diff that with foo.dpkg-new.
double a,b=4,c;main(){for(;++a<2e6;c-=(b=-b)/a++);printf("%f\n",c);}

Reply to: