G33|<^^^^^W1zard'5 Lam3n+

M

mimus

How many more times will I have to knock up a quick hexdump utility in
my life? how many? huh? huh?
 
N

Nick Keighley

How many more times will I have to knock up a quick hexdump utility in
my life? how many? huh? huh?

why don't you use the one you wrote last time?
 
M

mimus

why don't you use the one you wrote last time?

Um. The one I wrote last time was for (Ubuntu) Linux, this is Win7
<spit>.

The one before that was Win98 (OK after serious strip-down of
residential processes and avoiding IE and OE like the plague and
defragging regularly and using ZoneAlarm).

And the two before that were C64 (one in Commodore Basic, one in
Spinnaker C).

And I may've done one for the TI-99/4A (don't remember, but I was
playing pretty hard with both its Basic and that godawful line-by-line
assembler cartridge).

Only takes me about five minutes of mumbling to myself in C, but
still--!

--

All that to find out my bug was that I was opening a text file as
binary
(that does terrible things if you're expecting text-stream newline
use).
 
J

James Kuyper

Um. The one I wrote last time was for (Ubuntu) Linux, this is Win7
<spit>.

You wrote a hexdump utility for Linux? I'd recommend using 'od' rather
than bothering to write your own.
The one before that was Win98 (OK after serious strip-down of
residential processes and avoiding IE and OE like the plague and
defragging regularly and using ZoneAlarm).

And the two before that were C64 (one in Commodore Basic, one in
Spinnaker C).

And I may've done one for the TI-99/4A (don't remember, but I was
playing pretty hard with both its Basic and that godawful line-by-line
assembler cartridge).

Only takes me about five minutes of mumbling to myself in C, but
still--!

Maybe "hexdump utility" carries some extra meaning for you that it
doesn't have for me. To me it seems trivial to write such a utility so
that it would be portable to most hosted implementations of C. What was
unportable about your utilities?
 
M

mimus

You wrote a hexdump utility for Linux? I'd recommend using 'od' rather
than bothering to write your own.

<mildly:>

I like writing my own. Makes it easier to customize.
Maybe "hexdump utility" carries some extra meaning for you that it
doesn't have for me. To me it seems trivial to write such a utility so
that it would be portable to most hosted implementations of C. What was
unportable about your utilities?

Eh, well, writing a hexdump proggie is a trivial exercise, too.

Inshallah.
 
K

Keith Thompson

James Kuyper said:
It's trivial - and you're complaining about it? Not a good way to earn
sympathy.

Perhaps it is on alt.alien.vampire.flonk.flonk.flonk.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,952
Messages
2,570,116
Members
46,705
Latest member
BufordPala

Latest Threads

Top