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 | |
if [[ $# -lt 2 ]]; then | |
echo "Minimum length?" | |
read MIN_PASS_LENGTH | |
echo "Maximum length?" | |
read MAX_PASS_LENGTH | |
else | |
MIN_PASS_LENGTH=$1 | |
MAX_PASS_LENGTH=$2 | |
fi |