Generates random string.
Usage of ./randstr:
-a Shorthand for alnum
-alnum
Digits + Latin alphabet (default)
-d Shorthand for digit
-digit
Digits
-g Shorthand for graph
-graph
Digits + Latin alphabet + symbols
-l int
Shorthand for length (default 16)
-length int
Length of output (default 16)
-p string
Shorthand for pattern (default "XXXXXXXXXXXXXXXX")
-pattern string
Pattern. Each X is replaced with a random character. (default "XXXXXXXXXXXXXXXX")
-q Do not show unimportant error messages (default true)