Last active
November 25, 2019 10:11
-
-
Save bougui505/6ba7a8a6de721f6ee500ad99b54cb525 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
#!/usr/bin/env zsh | |
# -*- coding: UTF8 -*- | |
# Author: Guillaume Bouvier -- guillaume.bouvier@pasteur.fr | |
# https://research.pasteur.fr/en/member/guillaume-bouvier/ | |
# 2019-11-22 09:50:40 (UTC+0100) | |
# Store the type password in PASSWORD variable | |
# -s turns off echoing in bash or zsh | |
# -r for reading backslashes as-is | |
# IFS= to preserve leading and trailing blanks | |
# See: https://unix.stackexchange.com/a/439510/68794 | |
IFS= read -rs PASSWORD |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment