wm: infra

Download patch

ref: 5367683d6a4e811a21f2459f35778a63665ba511
parent: aa6e00143a552cb9d990cee2241008d353066520
author: mkf <mkf@cloud9p.org>
date: Mon Sep 23 04:15:30 EDT 2024

newuser: no spaces in password

--- a/newuser
+++ b/newuser
@@ -53,8 +53,8 @@
 
 if (~ $#* 1) {
 	pass=`{fortune /lib/dict/pgwindex | awk '{ print $1 }'}
-	pass=($pass `{fortune /lib/dict/pgwindex | awk '{ print $1 }'})
-	echo password: $pass
+	pass=($pass^`{fortune /lib/dict/pgwindex | awk '{ print $1 }'})
+	echo password: $"pass
 	newu $1 $pass
 }