Bob La Quey wrote: > On my Ubuntu system > [EMAIL PROTECTED]:~/indivo-3.0$ locate .xml | wc -l > 7837 > > That is a lot of files. Mostly config files of some sort. > > foomatic is used for printer configuration > [EMAIL PROTECTED]:~/indivo-3.0$ locate .xml | grep share/foomatic/db | wc -l > 2696
Fedora Core 5, Debian 4.0 (Etch), Red Hat Enterprise Linux (update 5), Red Hat Enterprise Linux 5 FC5[1] D4(E)[2] RHE4u5[3] RHEL5[4] 2337 2826 2106 2337 > [EMAIL PROTECTED]:~/indivo-3.0$ locate .xml | grep ubuntu | wc -l > 950 4[5] 4[6] 0[7] 1[7] > indivo is a large client/server app written in Java and PHP > [EMAIL PROTECTED]:~/indivo-3.0$ locate .xml | grep indivo | wc -l > 942 0 0 0 0 > [EMAIL PROTECTED]:~/indivo-3.0$ locate .xml | grep mime | wc -l > 503 941 499 417 505 > Comments? xml seems overengineered for configuration files. They may be machine readable, but they are not human readable. I am a big fan of key=value. As a data point: 462 of the 499 "mime" .xml files contain the phrase DO NOT EDIT (888 out of 941 on the Fedora Core 5 reference system). % locate .xml | grep mime | xargs grep -l 'DO NOT EDIT' | wc -l 462 I do not recommend XML for configuration files, unless they are automatically generated from some other human-editable file. -john UUEncode is ASCII. No one claims they are human readable/editable. [1] Fedora Core release 5 (Bordeaux) [2] Debian 4.0 (Etch) [3] Red Hat Enterprise Linux AS release 4 (Nahant Update 5) [4] Red Hat Enterprise Linux Server release 5 (Tikanga) [5] locate .xml | grep -ci fedora [6] locate .xml | grep -ci debian [7] locate .xml | grep -ci red.*hat -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
