xref: /freebsd/contrib/dialog/samples/fselect-stdout (revision fed1ca4b719c56c930f2259d80663cd34be812bb)
1#!/bin/sh
2# $Id: fselect-stdout,v 1.6 2010/01/13 10:20:03 tom Exp $
3
4. ./setup-vars
5
6RESULT=`$DIALOG --stdout --title "Please choose a file" "$@" --fselect $HOME/ 14 48`
7retval=$?
8
9. ./report-string
10