Small Quirk In "hd"

When dumping a file of exactly 4096 bytes for example, “hd” will output
something like this:

. . .
0000AA0 03 83 c3 04 e2 f9 59 5b c3 ff ff ff ff ff ff ff …Y[…
0000AB0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff …
*
0000FF0 e9 0d f0 ff ff ff ff ff ff ff ff ff ff ff ff ff …
0000FFF

It’s not off by much, but it is off… Thought you might like to know (if
you didn’t run into already).

-Warren

Fixed.

When dumping a file of exactly 4096 bytes for example, “hd” will output
something like this:

. . .
0000AA0 03 83 c3 04 e2 f9 59 5b c3 ff ff ff ff ff ff ff …Y[…
0000AB0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff …
*
0000FF0 e9 0d f0 ff ff ff ff ff ff ff ff ff ff ff ff ff …
0000FFF

It’s not off by much, but it is off… Thought you might like to know (if
you didn’t run into already).

-Warren

Now that’s what I call “real-time”… :slight_smile:


“Jeff Baker” <jbaker@qnx.com> wrote in message
news:8vjm88$7k3$1@nntp.qnx.com
| Fixed.
|
| > When dumping a file of exactly 4096 bytes for example, “hd” will output
| > something like this:
| >
| > . . .
| > 0000AA0 03 83 c3 04 e2 f9 59 5b c3 ff ff ff ff ff ff ff …Y[…
| > 0000AB0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff …
| > *
| > 0000FF0 e9 0d f0 ff ff ff ff ff ff ff ff ff ff ff ff ff …
| > 0000FFF
| >
| > It’s not off by much, but it is off… Thought you might like to know (if
| > you didn’t run into already).
| >
| > -Warren
| >
| >
|
|