$ grep -E '^From:' /some/file | uniq
↧
Answer by dmourati for grep out unique senders from a huge list of emails
↧
$ grep -E '^From:' /some/file | uniq