commit cdf84398b609d26f5c03f4379d0d5ad1fe1f7760
parent 557727af115a86c69cddb434950b79247855acde
Author: Tommy Pettersson <pettersson.b.tommy@gmail.com>
Date: Sun, 17 Oct 2021 11:33:34 +0200
Fix reading last name and current city
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/wiz/nwiz.sh b/wiz/nwiz.sh
@@ -6,7 +6,7 @@ echo "=Questions="
echo -n "Name: "
read n; echo "$n" >> /tmp/nrthxtmp;
echo -n "Last name: "
-read lname; echo "$ln" >> /tmp/nrthxtmp;
+read lname; echo "$lname" >> /tmp/nrthxtmp;
echo -n "Nickname: "
read nn;echo "$nn" >> /tmp/nrthxtmp;
echo -n "Birthday: "
@@ -18,7 +18,7 @@ read phn; echo "$phn" >> /tmp/nrthxtmp;
echo -n "Pet name: "
read pn; echo "$pn" >> /tmp/nrthxtmp;
echo -n "Current City: "
-read pn; echo "$cy" >> /tmp/nrthxtmp;
+read cy; echo "$cy" >> /tmp/nrthxtmp;
echo -n "Spouse name: "
read sn; echo "$sn" >> /tmp/nrthxtmp;
echo "Other keywords (separated by space): "