Skip to content

Instantly share code, notes, and snippets.

@gstlt
Created June 24, 2019 20:02
Show Gist options
  • Save gstlt/cf3a0b62e241ad92fec4ca0b119ce90f to your computer and use it in GitHub Desktop.
Save gstlt/cf3a0b62e241ad92fec4ca0b119ce90f to your computer and use it in GitHub Desktop.
Evenea nie pozwala w prosty sposób skopiować emaili do uczestników, żeby wysłać maila, to cudo w prosty sposób wyciągnie co trzeba z pliku csv
function evenea_emails() {
cat $1 | sed '1d' | awk -F';' '{print $15}' | sed -e 's/"//g' -e 's/$/,/g' | tr -d '\n' | sed 's/,$//g'
}
# Usage:
# source evenea_emails.sh
evenea_emails bilety.csv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment