|
|
Extract names and emails from a text file
While this works on a Mac, its far from a Mac hint. Technically, this is just UNIX command line work. Any of the O'reilly Press books of UNIX Power Tools, Learning Sed and Awk, Learning vi, etc cover this type of stuff. I guess this is a good example of one use case for a Mac… and of course its a power you don't get on a PC without something like cygwin or ming installed, but a "Mac OS X Hints" it is not. grep, sed, awk, & cut are all common UNIX/Linux command line, text formatting tools, not Mac specific. But thanks for sharing...
Extract names and emails from a text file
Of course, on the flip side it just dawned on me that you posted a way to harvest email addresses. Hopefully you aren't planning to spam anybody with your newly found command line-fu. If you do… be sure the gods will find you and the end result will be worse than anything you can ever imagine. ;)
Extract names and emails from a text file
No spamming going on, just something I have to do for our small company to send licenses to users from time to time. ---
Now: at Many Tricks, maker of useful apps http://manytricks.com. Previously: founded this site.
Extract names and emails from a text file
Right, I'll just go delete all the command line hints on the site, then, since they're not Mac-specific... ---
Mac OS X Hints editor - Macworld senior contributor http://www.mcelhearn.com
Extract names and emails from a text file
When I founded macosxhints back in November of 2000, one of the key reasons for the site's existence was for Mac users to have a place to learn about everything new in OS X, including the Unix underbelly. The Unix category has been here since day one, and has been (in my eyes) an important feature of the site: it's a way for Mac users to gain Unix knowledge without having to dive into a full-blow Unix book, or to visit a Unix-centric site (which may contain information not relevant to the version of Unix in OS X). ---
Now: at Many Tricks, maker of useful apps http://manytricks.com. Previously: founded this site.
Extract names and emails from a text file
Actually, I wasn't complaining that a UNIX hint was posted here… OS X is, after all, UNIX at its core. And I've personally enjoyed many of the Mac-specific UNIX command line tools… I use some to grep out my network status to feed it into GeekTool, for example. I was just pointing out that this specific hint was not Mac specific at all… just UNIX specific. It could have been run unaltered on most Solaris, AIX, or Linux systems, for example. Wasn't trying to flame anyone or piss anyone off. Just making a comment… hence why the prompt is to "Post a Comment" :) |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.09 seconds |
|