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