====== Random ====== .. default-domain:: bash .. file:: random.bsh .. function:: urandom_password Uses ``/dev/urandom`` to generate a random password :Arguments: * [``$1``] - Length of the generated password. Default: 20 * [``$2``] - Set of character to use. Using ``tr`` syntax. Default: ``[:graph:]`` :Output: *stdout* - Outputs the password, no newline added. .. note:: Does not support unicode, uses iso-8859-1