Filtering emails with core utils Nic Payne author May 30, 2022 linux cli tech til Copy this post URL Rich Markdown Text email1@me.com somebody_else@gmail.com #! /bin/bash # pick multiple emails from list and combine into comma seperated array emails=`cat .../emails | fzf -m | sed 's/^\|$/"/g'|paste -sd,` echo $emails Share this post Twitter Bluesky LinkedIn WhatsApp Facebook Telegram Pinterest Reddit Hacker News Email Copy link