On Fri, 9 Nov 2007, tom smith wrote:
> Ron Youvan wrote:
>>> I have a binary file with readable email addresses embedded in it.
>>> I would like to extract those email addresses to a text file such that
>>> the email
>>> addresses are readable and separated, preferably all in one column.
>>> Is there anyway to do this with a shell script or using a series of
>>> file system
>>> utilities? Each email address is an identifiable string e.g.
>>> soandso@blabla.com
>>
>> Is this something that midnight commander can't view? (F3)
>
> The email addresses can be read in a text editor, but are embedded in a binary
> file. For example, when you open the file, you can see a binary string and then
> an email address, then a binary string, then an email address, and so on.
> I need a method to extract each email address string and put each into a single
> text file so it is usable.
Tried "strings"?
--
-eben QebWenE01R@vTerYizUonI.nOetP royalty.mine.nu:81
Your pretended fear lest error might step in is like the man who
would keep all wine out of the country lest men should be drunk.
-- Oliver Cromwell
This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:02:57 EDT