Password generator

Usage: ./genpasswd.pl [OPTION]...
Generate a set of random passwords that match certain criteria.

  -c, –charset=SET    Use the specified charset
  -l, –length=N       Passwords must be exactly N characters long
      –length=N-M     Passwords must be N to M characters long, inclusive
  -n, –number=NUM     Generate NUM passwords (default is 20)
  -r, –require=TYPES  Require at least one of certain characters in password
  -h, –help           Display this help and exit

SET may be one of the following: typeable, alphanumeric, numeric.

TYPES is a comma-separated list of one or more of the following: upper, lower, number, symbol. Any TYPES specified that are not valid with the charset are ignored. Default is all TYPES.