Re: UNIX/Linux text files
Adam Funk <email@example.com> writes:
> On Tuesday 20 April 2004 13:50, John Hasler wrote:
>> Ciaran writes:
>>> Karsten probably answered the question you meant to ask, not the
>>> question you did ask
>> And the pendantically correct answer is that Unix and Linux do not
>> text files. All Unix/Linux files are binary.
> Yes, but -T and -B tests in Perl know the difference!
According to the "Programming Perl" book, this works as follows: "The first
block or so of the file is examined for odd characters such as strange
control codes or metacharacters. If too many odd characters (>10%) are
found, it's -B file, otherwise it's a -T file".
So, basically, Perl is cheating.
To be or not to be is true. G. Boole No it isn't. L. E. J. Brouwer
!!! Sender/From address is bogus. Use reply-to one !!!