xref: /freebsd/contrib/bsddialog/examples_utility/passwordform.sh (revision e9e8876a4d6afc1ad5315faaa191b25121a813d7)
1#!/bin/sh
2#-
3# SPDX-License-Identifier: CC0-1.0
4#
5# Written in 2021 by Alfonso Sabato Siciliano.
6# To the extent possible under law, the author has dedicated all copyright
7# and related and neighboring rights to this software to the public domain
8# worldwide. This software is distributed without any warranty, see:
9# <http://creativecommons.org/publicdomain/zero/1.0/>.
10
11./bsddialog --insecure --title " passwordform " --passwordform "Example" 12 40 5 \
12	Password1:	1	1	Value1		1	12	18	25 \
13	Password2:	2	1	Value2		2	12	18	25 \
14	Password3:	3	1	Value3		3	12	18	25 \
15	Password4:	4	1	Value4		4	12	18	25 \
16	Password5:	5	1	Value5		5	12	18	25 \
17	2>out.txt ; cat out.txt ; rm out.txt
18