kit

kit
git clone https://git.ryansepassi.com/git/kit.git
Log | Files | Refs | README

03-offset-hex.sh (200B)


      1 # -t x prefixes each string with its hex byte offset. "Hello" starts at
      2 # offset 3, "longword12" at offset 11 (0xb).
      3 printf 'ab\000Hello\000\001\002longword12\000xy' > f.bin
      4 "$KIT" strings -t x f.bin