#! /usr/bin/env bash set -e # Check args if [ $# != 1 ]; then echo "Usage: genpass " exit 1 fi echo $(openssl rand -base64 $1 | tr -d "\n")