On Unix I simply run
and grep for the version string.strings $filename
I need to do the same thing for systems where strings isn't available (typically Win32). I suppose I could simply open the file in my Makefile.PL and use a normal read/pattern match loop, maybe using sysread() to avoid slurping in too much at a time given the size of these binary files.
Any other suggestions?
Thanks,
Michael
In reply to Portable way to extract string from a binary by mpeppler
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |