binmatch performs a binary-matching search for the file in the file , reporting the offset of in for each occurrence. Offsets are reported in hexadecimal unless the "-d" decimal option is used. Program information messages are written to stderr to avoid confusing the matching address reports that are written to stdout. This allows the program to be used with pipes and further filters. The program uses memory-mapped files to make the search as efficient as possible. Usage: ./binmatch: [-d] -n -h -d print matching addresses in decimal not hexadecimal -n path to the file containing the needle -h path to the file containing the haystack Information messages are written to stderr and only matches are written to stdout. This allows the output to be piped through other filters.