Yes, there are separator characters and each email address is intact.
Smitty
Jim Hartley wrote:
> Are there some kind of separator characters (like blanks) around the
> e-mail addresses? If not, the task may well be impossible ... suppose
> you find "fred@aol.com", is that really the address? Or is there a
> binary character which just happens to be an "f" in front of
> "red@aol.com"? In fact, it is POSSIBLE (although not probable) that
> "fred@aol.com" is just binary stuff representing the mileage of your car!
>
> Of course by looking for a regex such as
>
> [a-zA-Z0-9]*@[a-zA-Z0-9]*\.[a-zA-Z0-9]*
>
> you may be able to get pretty close.
>
> Jim Hartley
>
> 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.
>> Tom
>>
>
This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:03:03 EDT