VolksForth/tools/dumpblock.sh
2017-04-24 00:25:49 +02:00

7 lines
251 B
Bash
Executable File

#!/bin/sh
# small tool to dump all screens of a block-file
# on screen. Used to create source files for fossil
# checkin. Depends on GNU-Forth (gforth)
gforth -e ": bdump 0 do i list loop ; use $1 get-block-fid file-size drop drop 1024 / bdump bye"