freebsd-nq/contrib/dialog/samples/dselect
2018-10-20 20:49:46 +00:00

12 lines
213 B
Bash
Executable File

#!/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