Sadly the sed scripts posted to the list do not work on the output of
the OS X strings program. This version of strings includes leading
zeros in the offset value. Thus, an output line from OS X strings like
0 %PDF-1.2
gets converted to
: 0 %PDF-1.2
instead of the desired
0:%PDF-1.2
Hence the optional whitespace before the offset in the Perl regex.
--
Jesse
research(a)jessekornblum.com