Created
June 24, 2019 20:02
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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