- Notifications
You must be signed in to change notification settings - Fork0
Simple command-line tool to print a hex dump of a file
License
NotificationsYou must be signed in to change notification settings
jlaasonen/hexfile
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Simple command-line tool which prints a hex dump of a file.
hexfile is available at:
- FreeBASIC-1.10.0
- fbtesting for testing. Copy fbtesting files under
lib/fbtesting
. - task (optional) building and running tests.
- Compiling in DOS requires long filename support.
Compile usingtask
task build
, or with plainfbc
fbc -e -w all -w pedantic -w error hexfile.bas
Compile and run tests withtask
task test
, or with plainfbc
fbc -e -w all -w pedantic -w error test.bas./test
hexfile [-i <start index>] <filename>
Start index can be given in format supported by theVALLNG function.
Page Up & Page Down show the previuos and the page respectively. Up and down arrows scroll one line at the time.Esc will end the program.
Inspired by thehexfile program inP.K. McBride, 1989, Programming in GW-BASIC chapter 15.6.
About
Simple command-line tool to print a hex dump of a file