in reply to Searching binary data

What sort of content are you searching for??? If you're searching for normal text then you can sometimes do something like this under UNIX:

cat binaryfile | strings | more

Something similar will work under Windows assuming that you either use Cygwin or craft your own program that reads binary files and extracts text.

metadoktor

"The doktor is in."

  • Comment on UNIX Strings Command? - Re: Searching binary data

Replies are listed 'Best First'.
Re: UNIX Strings Command? - Re: Searching binary data
by Shendal (Hermit) on Mar 14, 2002 at 17:37 UTC
    Strings only works if I am looking for strings in a binary file. What I'm looking for is the value in hex of a specific location in the file. That is, after a series of '0000001000001000', I want to know that the next four words are '1111000001011010'. Unfortunately, the suggestion given by Juerd above doesn't work.
    Cheers,
    Shendal