I've got a file with some e-mails:
firstname.lastname@example.org email@example.com firstname.lastname@example.org email@example.com firstname.lastname@example.org email@example.com
And now... I need to find a way to search for specific e-mails address from the list on the left hand-side (before white-space), I already tried to grep/sed it but normally when I'm searching for word "info", I'm getting both results firstname.lastname@example.org and email@example.com...
How I can tell linux to check only string before white-space?