<div dir="ltr"><div>Hi</div><div><br></div><div>just checking... Anybody cares to enlighten me about the issues of my previous email?</div><div><br></div><div>Thanks</div><div><br></div><div>Marco</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jun 3, 2024 at 11:30 AM Marco Antoniotti <<a href="mailto:marcoxa@gmail.com">marcoxa@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi</div><div><br></div><div>Thank you for supporting this tool for so many years.</div><div><br></div><div>I have a few questions regarding the actual semantics of magic(5) rules.</div><div><br></div><div>Let me call "group" a set of tests starting at a 0 level test.</div><ol><li>My understanding is that each group is checked separately and that, once one of them "succeeds" then the result is printed out and that's it. I am saying this otherwise the "pdf" specification should print out two equal lines on a vanilla PDF file. Is that correct?</li><li>I understood that "name" and "use" rules can span magic(5) boundaries. Is that correct?</li><li>When I use a "use" clause, what is the state of the position in the file (buffer) after its invocation? Whether it is successful or not?</li><li>Can I "use" a "name" that then uses another "name" etc. It does not appear to be the case on Mac OS right now.</li></ol><div>I also believe I found a few problems with some of the magic(5) files; I will post them soon.</div><div><br></div><div>That's it for now.</div><div><br></div><div>Thanks<br><br></div><div>Marco<br><br></div><div>PS Yes, I am parsing the magic(5) files. Don't ask! It's a rabbit hole.</div><div><br></div><div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature">Marco Antoniotti<br>Somewhere over the Rainbow</div></div></div>
</blockquote></div><br clear="all"><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature">Marco Antoniotti<br>Somewhere over the Rainbow</div>