Hello, are you aware of a tool, which would allow me to search for given pattern in a binary file, then at least output file position (so that I could pass the number to dd) or output next few bytes? For text files I use e.g .grep (grep -A 3 file pattern to output 3 lines after match). I would like to output e.g. 13 bytes after binary match. Dd is fine when I know the position, so I can use skip option. But how to know the position? The pattern could be either fixed bytes or even regular expression, if that's possible.
Regards, Robert -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org