xref: /freebsd/contrib/dialog/samples/fselect2-stdout (revision 8d20be1e22095c27faf8fe8b2f0d089739cc742e)
1#!/bin/sh
2# $Id: fselect2-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/ 0 0`
7retval=$?
8
9. ./report-string
10