aboutsummaryrefslogtreecommitdiff
path: root/examples_utility/passwordform.sh
diff options
context:
space:
mode:
Diffstat (limited to 'examples_utility/passwordform.sh')
-rwxr-xr-xexamples_utility/passwordform.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/examples_utility/passwordform.sh b/examples_utility/passwordform.sh
new file mode 100755
index 000000000000..5cfe0b0fa0a1
--- /dev/null
+++ b/examples_utility/passwordform.sh
@@ -0,0 +1,17 @@
+#!/bin/sh
+#-
+# SPDX-License-Identifier: CC0-1.0
+#
+# Written in 2021 by Alfonso Sabato Siciliano.
+# To the extent possible under law, the author has dedicated all copyright
+# and related and neighboring rights to this software to the public domain
+# worldwide. This software is distributed without any warranty, see:
+# <http://creativecommons.org/publicdomain/zero/1.0/>.
+
+./bsddialog --insecure --title " passwordform " --passwordform "Example" 12 40 5 \
+ Password1: 1 1 Value1 1 12 18 25 \
+ Password2: 2 1 Value2 2 12 18 25 \
+ Password3: 3 1 Value3 3 12 18 25 \
+ Password4: 4 1 Value4 4 12 18 25 \
+ Password5: 5 1 Value5 5 12 18 25 \
+ 2>out.txt ; cat out.txt ; rm out.txt