
This is a little utility that I find quite usefull..

I know there are quite a few 'bin2inc' and 'cut' programs around, but
none of them worked the way I wanted. Often they were unable to
process files >64k correctly, and it was not possible to use
hex-numbers as offsets.

SNiP hopefully does not have these problems ;)

You can give the positions as dec, hex or oct numbers:
  dec example : 42       (plain ol' numbers)
  hex example : 0x2a     (a leading '0x')
  oct example : 052      (a leading '0')

The source is pretty nice C-code, so it should compile with all 32bit
compilers.. It should also work with 16bit ones if you set the buffer
size to something more 'appropriate' for rmode ;-P

Joergen Ibsen / Jibz :)
