Created
June 24, 2020 20:05
-
-
Save atcasanova/a2bdc740bb056b9d9d1167b4baf4bae3 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
IFS=\; read nome email empresa telefone <<< "$1" | |
filename="$(sha256sum <<< "$email"| cut -f1 -d" ").txt" | |
echo "Nome: $nome | |
E-Mail: $email | |
Empresa: $empresa | |
Telefone: $telefone" > $filename |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment