diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2018-10-20 20:32:57 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2018-10-20 20:32:57 +0000 |
commit | 4dccdce4191d6e2bc3ba9f782b0fe1aa46b743e3 (patch) | |
tree | 3f3f729ef0455b62fba0c60263ba2c0180f4b4ec /samples/dselect | |
parent | 42c10d5d7d5ba2fde22838d594f29d2f73b3ead2 (diff) |
Notes
Diffstat (limited to 'samples/dselect')
-rwxr-xr-x | samples/dselect | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/samples/dselect b/samples/dselect new file mode 100755 index 000000000000..9da035dab95d --- /dev/null +++ b/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 |