commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
The -a option in -aEio tells grep to treat binary files as text files.
There are 2 alternatives - vote for the best!
Simply more email-adresses matched
find all email addresses in a file, printing each match. Addresses do not have to be alone on a line etc. For example you can grab them from HTML-formatted emails or CSV files, etc. Use a combination of
to filter them.
This will catch most separators in the section of the email:
plus + (added for gmail)
... and the basic dash '-' of host names.
If you can do better, submit your command here.
You must be signed in to comment.