I've got a file with some e-mails:
info@example.com info51351@hotmail.com
test@hello.com test6261@gmail.com
example@example.com example64262@gmail.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 info@example.com and info51351@hotmail.com...
How I can tell linux to check only string before white-space?
Thanks.