tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: host endianness



On Mon, Feb 08, 2010 at 09:29:59AM +0100, Ignatios Souvatzis wrote:
 > > Why not just printf "C!"? However,
 > > 
 > >    echo 'C!' | od -N 2 -h | sed 's/[^1234]*//;s/2143/4321/p;d'
 > > 
 > > is somewhat tidier.
 > 
 > If this's s'ppossed to be host os and machine independent:
 > 
 > No 'od -h' on Solaris 8, neither on 10.

Spoilsport :-)

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index