commit 7a2f6b373bf41741d33afebd88d813e95cca950a parent 0388c85624241671417e938ef8f227ec3bde6851 Author: boredpasta <boredpasta@tutanota.com> Date: Fri, 14 Mar 2025 20:12:06 +0200 add gen Diffstat:
A | gen | | | 6 | ++++++ |
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/gen b/gen @@ -0,0 +1,6 @@ +#!/bin/sh +# generate passwordssss +length=40 +[ "$#" -gt 1 ] && { echo "usage: ${0##*/} [length]" 1>&2; exit 1; } +[ "$#" -eq 1 ] && length=$1 +jot -rcs '' "$length" 32 126