HardenedBSD/contrib/dialog/samples/dselect

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
224 B
Plaintext
Raw Normal View History

2018-10-20 22:32:57 +02:00
#!/bin/sh
# $Id: dselect,v 1.10 2020/11/26 00:09:12 tom Exp $
2018-10-20 22:32:57 +02:00
. ./setup-vars
exec 3>&1
returntext=`$DIALOG --title "Please choose a file" "$@" --dselect "$HOME/" 14 48 2>&1 1>&3`
returncode=$?
2018-10-20 22:32:57 +02:00
exec 3>&-
. ./report-string