TIP: Click on subject to list as thread! ANSI
echo: public_domain
to: Paul Edwards
from: andrew clarke
date: 1996-03-09 18:43:12
subject: hexdump.c

07 Mar 96 23:36, Paul Edwards wrote to andrew clarke:

 ac>>  *  HEXDUMP.C - Dump a file.
 ac>>  *
 ac>>  *  This Program Written By Paul Edwards w/ modifications by Bob
 ac>> Stout
 ac>>  *  Aditional modifications by Andrew Clarke
 ac>>  *  Released to the public domain
 ac>>  */

 > Can you tell me what you changed?  BFN.  Paul.

I remember fixing a bug in one of your earlier versions that caused the
file not to be fully hexdumped (it would leave out the last few bytes) in
certain instances.  It looks as though you fixed that in the OZPD9510
release though, which I used as the base for the above code.

HEXDUMP.C now uses strtol() to convert the "start" and
"length" command-line parameters to numeric values rather than
atol(), as I wanted support for hexadecimal values.  (I think it now
supports octal also.)

I've also made the output a little more readable by seperating each
hexadecimal digit with a space.  It's now displayed almost identically to 
the format XTreeGold uses in its hex dumper/editor.

--- Msgedsq/2 3.30
* Origin: This one HAS to be original X (3:635/727.4{at}fidonet)
SEEN-BY: 50/99 78/0 635/309 503 544 727 640/230 690/718 711/401 410 413 430
SEEN-BY: 711/808 809 934 712/610 713/888 800/1 7877/2809
@PATH: 635/727 544 50/99 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.