On Fri, 9 Nov 2007, tom smith wrote:
> Eben King wrote:
>> 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"?
>>
> What is strings?
Extracts text strings from a binary file. "strings filename | grep @"
--
-eben QebWenE01R@vTerYizUonI.nOetP http://royalty.mine.nu:81
Are you confident that you appear to be professional in your electronic
communication? Consider this: A: No
Q: Can I top post? from nick@xx.co.uk
This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:03:07 EDT