[Vol-dev] Re: Patch: strings command optimization

Jesse Kornblum research at jessekornblum.com
Tue Sep 8 18:37:34 CDT 2009


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 at jessekornblum.com



More information about the Vol-dev mailing list