On 2023-04-27 13:12, Per Jessen wrote:
Dave Howorth wrote:
On Thu, 27 Apr 2023 08:58:44 +0200 Per Jessen <per@opensuse.org> wrote:
per@office64:~> unzip -l Documents/surbl-stats.ods Archive: Documents/surbl-stats.ods Length Date Time Name -------- ---- ---- ---- 46 07-24-09 06:44 mimetype 423142 07-24-09 06:44 content.xml 6168 07-24-09 06:44 styles.xml 914 07-24-09 06:44 meta.xml 9768 07-24-09 06:44 Thumbnails/thumbnail.png [snip] 9069 07-24-09 06:44 settings.xml 1873 07-24-09 06:44 META-INF/manifest.xml -------- ------- 450980 15 files
Right, but there are no XML files there that could be accidently edited, so no need for any warnings about editing them :) So a poor choice of counterexample?
Yeah I admit it, it was a slightly poor example :-) Still, the key message remains the same - excluding certain common examples, XML files are not for human processing, accidentally or otherwise. When they are made human-readable with newlines and indentation, it is for debugging purposes.
I'm right now editing the Isengard:/etc/firewalld/zones/external.xml, to reduce the number of rules, and it is right tedious. With commands it would be unthinkable. Looking at the official documentation: https://firewalld.org/documentation/zone/examples.html it is all XML, not commands, so they do intend people to edit them directly. By the way, looking at that site, I do not see a documentation section on "rules" :-? -- Cheers / Saludos, Carlos E. R. (from 15.4 x86_64 at Telcontar)