in reply to How to eliminate text portion of a binary file?

This one-liner seems to do the job.

perl -pe"BEGIN{ $/='#### end of header'; <>}" mixed.dat > bin.dat

Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"Think for yourself!" - Abigail