This section documents a library generating random passwords; the library file is libmbfl-passwords.bash. We can load this library at run–time with:
mbfl_load_library(/path/to/libmbfl-passwords.bash)
for details Libraries loading and embedding. Notice that the preprocessor option --print-libmbfl-passwords will print the file pathname of the installed library, Invoking the preprocessor.
Usually we want to use the passwords–generating functions as follows:
{
mbfl_declare_varref(PASSWD_STRING)
mbfl_passwords_printable_ascii_noblank mbfl_datavar(PASSWD_STRING) 8
echo "$PASSWORD_STRING"
}
-| [&W4Yl*t
Generate a password string; either print it to stdout or store it in the result variable
RV. The result string satisfies the string predicate mbfl_string_is_digit().
Generate a password string; either print it to stdout or store it in the result variable
RV. The result string satisfies the string predicate mbfl_string_is_ascii_symbol().
Generate a password string; either print it to stdout or store it in the result variable
RV. The result string satisfies the string predicate mbfl_string_is_lower_case_vowel().
Generate a password string; either print it to stdout or store it in the result variable
RV. The result string satisfies the string predicate mbfl_string_is_lower_case_consonant().
Generate a password string; either print it to stdout or store it in the result variable
RV. The result string satisfies the string predicate mbfl_string_is_lower_case_alphabet().
Generate a password string; either print it to stdout or store it in the result variable
RV. The result string satisfies the string predicate mbfl_string_is_lower_case_alnum().
Generate a password string; either print it to stdout or store it in the result variable
RV. The result string satisfies the string predicate mbfl_string_is_lower_case_base16().
Generate a password string; either print it to stdout or store it in the result variable
RV. The result string satisfies the string predicate mbfl_string_is_upper_case_vowel().
Generate a password string; either print it to stdout or store it in the result variable
RV. The result string satisfies the string predicate mbfl_string_is_upper_case_consonant().
Generate a password string; either print it to stdout or store it in the result variable
RV. The result string satisfies the string predicate mbfl_string_is_upper_case_alphabet().
Generate a password string; either print it to stdout or store it in the result variable
RV. The result string satisfies the string predicate mbfl_string_is_upper_case_alnum().
Generate a password string; either print it to stdout or store it in the result variable
RV. The result string satisfies the string predicate mbfl_string_is_upper_case_base16().
Generate a password string; either print it to stdout or store it in the result variable
RV. The result string satisfies the string predicate mbfl_string_is_mixed_case_vowel().
Generate a password string; either print it to stdout or store it in the result variable
RV. The result string satisfies the string predicate mbfl_string_is_mixed_case_consonant().
Generate a password string; either print it to stdout or store it in the result variable
RV. The result string satisfies the string predicate mbfl_string_is_mixed_case_alphabet().
Generate a password string; either print it to stdout or store it in the result variable
RV. The result string satisfies the string predicate mbfl_string_is_mixed_case_alnum().
Generate a password string; either print it to stdout or store it in the result variable
RV. The result string satisfies the string predicate mbfl_string_is_mixed_case_base16().
Generate a password string; either print it to stdout or store it in the result variable
RV. The result string satisfies the string predicate mbfl_string_is_base32().
Generate a password string; either print it to stdout or store it in the result variable
RV. The result string satisfies the string predicate mbfl_string_is_base64().
Generate a password string; either print it to stdout or store it in the result variable
RV. The result string satisfies the string predicate mbfl_string_is_printable_ascii_noblank().
This document describes version 3.0.0-devel.9 of Marcos Bash Functions Library.