Problem: you have a long search string in hex digits. Could be 55 bytes (110 hex digits). xxd output automatically, silently adds lines breaks so you are unable to use any unix search tool.
solution: xxd -c 9999999 > somefile.txt
What’s the limit to the -c? No clue, and I don’t need to know.