Extract email list from a file (case 1)
grep @ InputFile | awk '{ print $NF }' |sort -u - > OutputFile
returns (in the OutputFile) a list of unique and sorted list of emails (i.e., words containing @), listed as the last word in the lines of the InputFile.

0 Comments:
Post a Comment
<< Home