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