On Fri, 10 Jun 2016 15:38:44 -0400 Joseph Brennan wrote:
> This is a nice test I found:
> echo -n I | od -to2 | awk '{ print substr($2,6,1); exit}'
>
> 1 little-endian
> 0 big-endian
I don't see how this can output anything other than 1.
Endianness is about the addressing of bytes within integer words. This
is looking at the ordering of human-readable octal digits displaying
the contents of a single byte.
