VolksForth/tools/dumpblock.sh

7 lines
251 B
Bash
Raw Normal View History

2017-04-23 22:25:49 +00:00
#!/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"