diff --git a/forms/mail_to_wifi_account.sh b/forms/mail_to_wifi_account.sh new file mode 100644 index 0000000000000000000000000000000000000000..6a112b289686a66f6b7a302ad092d5b0552938b0 --- /dev/null +++ b/forms/mail_to_wifi_account.sh @@ -0,0 +1,6 @@ +#! /usr/bin/bash + +# Convert list of mail to the format : NOM;Prenom +# for the page https://instella.ens-lyon.fr/stella/intra/compteInvite.html -> Ajouter une liste de comptes + +cat *.csv | grep -v "@ens-lyon.fr" | sed -e 's/\(.*\)\.\(.*\)@.*/\2 \1/g' | awk 'BEGIN { OFS="" }{print toupper($1),";", $2}'