From mboxrd@z Thu Jan 1 00:00:00 1970 From: steffen at sdaoden.eu (Steffen Nurpmeso) Date: Thu, 11 Mar 2021 22:29:12 +0100 Subject: [COFF] Pondering the hosts file In-Reply-To: <80d8f9bc-31d6-6bb8-03e6-ce53cc4a9cdb@spamtrap.tnetconsulting.net> References: <02d10a8e-2f39-4f88-f4c9-ecb295e0f01e@spamtrap.tnetconsulting.net> <20210311172923.3f-gd%steffen@sdaoden.eu> <80d8f9bc-31d6-6bb8-03e6-ce53cc4a9cdb@spamtrap.tnetconsulting.net> Message-ID: <20210311212912.nQaYz%steffen@sdaoden.eu> Grant Taylor wrote in <80d8f9bc-31d6-6bb8-03e6-ce53cc4a9cdb at spamtrap.tnetconsulting.net>: |On 3/11/21 10:29 AM, Steffen Nurpmeso wrote: |> Address, "official name", aliases. |> And as many as you want i'd say. It is just that an alias might be |> hidden and never be found (if actually hidden). This is at least |> how i interpreted it. | |Please clarify what you mean by "And as many as you want". | |Do you man as many /aliases/ and / or as many /entries/ (lines) in \ |the file? Both. Here, that is. The first generated AorAAAA, the latter were "system alias" names (not even cname or something) which were search in preference unless the query gave a conf_noaliases flag. And the reading was just readLine(). And one thing why i loved C++, writing something like "_line.trim().squeeze().data()" in C is terrible. --steffen | |Der Kragenbaer, The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt)