Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.lang.c    |    Meh, in C you gotta define EVERYTHING    |    243,242 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 242,391 of 243,242    |
|    Michael Sanders to Keith Thompson    |
|    Re: is_binary_file()    |
|    09 Dec 25 21:38:57    |
      From: porkchop@invalid.foo              On Mon, 08 Dec 2025 14:43:58 -0800, Keith Thompson wrote:              > For yet another set of unreliable hueristics for guessing whether a file       > is text or binary, you can take a look at Perl's built-in "-T" and "-B"       > operators.              I guess the key finding in all of these cases really is unreliable.       Heuristics is the only 'constant' ie - an educated guess.              I wont win this battle, I can see it coming & then as James pointed       out, the ambiguous stuff with unicode...              --       :wq       Mike Sanders              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca