endians

Kenneth Brody kenbrody at bestweb.net
Mon Nov 28 15:46:16 PST 2005


Quoting Bill Campbell (Mon, 28 Nov 2005 15:34:52 -0800):
[...]
> >Quoting Dennis Malen (Mon, 28 Nov 2005 16:58:43 -0500):
> >
> >> Jim,
> >>
> >> I ran it as a shell script. I don't have a C Compiler on the RISC
> box.
[...]
> An easy way to determine the endianness of a machine that has a
> reasonably current version of python is with a script like this:
[...]
> Perl has something similar, but less intuitive as it seems backwards
> for little endian machines:
[...]

What are the odds that the C-less system has Perl, let alone Python?

--
KenBrody at BestWeb dot net        spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.fileProPlus.com


More information about the Filepro-list mailing list