diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2018-10-20 20:49:46 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2018-10-20 20:49:46 +0000 |
commit | f4f33ea0c752ff0f9bfad34991d5bbb54e71133d (patch) | |
tree | 40442a08324132e6e11845ccaa4f3e675edc8a4f /contrib/dialog/samples/dselect | |
parent | b0dee75e6460644cb00f57245a3e797626a0083f (diff) | |
parent | 4dccdce4191d6e2bc3ba9f782b0fe1aa46b743e3 (diff) | |
download | src-f4f33ea0c752ff0f9bfad34991d5bbb54e71133d.tar.gz src-f4f33ea0c752ff0f9bfad34991d5bbb54e71133d.zip |
Update libdialog to 1.3-20180621
Notes
Notes:
svn path=/head/; revision=339488
Diffstat (limited to 'contrib/dialog/samples/dselect')
-rwxr-xr-x | contrib/dialog/samples/dselect | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/contrib/dialog/samples/dselect b/contrib/dialog/samples/dselect new file mode 100755 index 000000000000..9da035dab95d --- /dev/null +++ b/contrib/dialog/samples/dselect @@ -0,0 +1,11 @@ +#!/bin/sh +# $Id: dselect,v 1.7 2016/01/26 22:52:53 tom Exp $ + +. ./setup-vars + +exec 3>&1 +RESULT=`$DIALOG --title "Please choose a file" "$@" --dselect $HOME/ 14 48 2>&1 1>&3` +retval=$? +exec 3>&- + +. ./report-string |