xref: /freebsd/contrib/dialog/samples/fselect2-stdout (revision 0b3105a37d7adcadcb720112fed4dc4e8040be99)
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