Hi,

On Mon, 12 Mar 2012 21:41:26 +0100, Niels Thykier wrote:
> On 2012-03-12 21:31, Niels Thykier wrote:
> > hd -n 1 -s 7 -e '/1 "%02d"'
> Actually, make that hexdump -n 1 -s 7 -e '/1 "%02d"'.  Apparently, "hd"
> and "hexdump" are not as interchangable as I thought.

I can confirm that it works on sparc and i386.

However, I would suggest to use this:
hexdump -n 1 -s 7 -e '/1 "%u"'

In contrast to hd, I do not see a difference when specifying the field
width "02" here. Using "%u" instead of "%d" will work with values >127.
"%d" is signed and will print negative values if the class version is
>127. But since we are far away from that anyway, it is probably a matter
of taste. For now both versions produce the right result.

> ~Niels

Best regards

Kai



__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to