fonte: https://www.shellhacks.com/regex-find-email-addresses-file-grep/
um melhor:
echo ” sv sdf example@gmail.com.br ; k l ; examplo@rdfgfdet.com ; asdsad@asdsad.com.54.gh ; ” |grep -E -o “\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,6}\b”|sed ‘:a;N;$!ba;s/\n/,/g’