File: dselect

package info (click to toggle)
dialog 1.3-20160828-2
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 3,120 kB
  • ctags: 1,761
  • sloc: ansic: 17,594; sh: 7,075; makefile: 451; perl: 355; python: 164
file content (11 lines) | stat: -rwxr-xr-x 213 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
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