Linux.com

CLI Magic: For geek cred, try these one-liners

Posted by: Anonymous [ip: 195.135.221.2] on July 23, 2008 02:09 PM
Instead of using sort | uniq, you could also just use sort with sort -u -
Instead of using gawk, you could use cut in this case (which is way smaller):

grep '@' incoming_email | cut -d ' ' -f 3 | sort -u

#

Return to CLI Magic: For geek cred, try these one-liners