diff options
Diffstat (limited to 'contrib/bsddialog/examples_utility/mixedform.sh')
-rwxr-xr-x | contrib/bsddialog/examples_utility/mixedform.sh | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/contrib/bsddialog/examples_utility/mixedform.sh b/contrib/bsddialog/examples_utility/mixedform.sh index 80b7abf93745..6b690e7e5b8c 100755 --- a/contrib/bsddialog/examples_utility/mixedform.sh +++ b/contrib/bsddialog/examples_utility/mixedform.sh @@ -16,9 +16,9 @@ FORMS=$(./bsddialog --insecure --title " mixedform " \ --mixedform "Hello World!" 12 40 3 \ - Label: 1 1 Entry 1 11 18 25 0 \ - Label: 2 1 Read-Only 2 11 18 25 2 \ - Password: 3 1 "" 3 11 18 25 1 \ + Label: 0 0 Entry 0 10 18 25 0 \ + Label: 1 0 Read-Only 1 10 18 25 2 \ + Password: 2 0 "" 2 10 18 25 1 \ 3>&1 1>&2 2>&3 3>&-) case $? in @@ -32,8 +32,6 @@ case $? in echo "[Cancel]" ;; $BSDDIALOG_OK ) - echo "[OK]" + echo "[OK] $FORMS" ;; esac - -echo "$FORMS" |