1188943Sthompsa#!/bin/sh 2188943Sthompsa# $Id: fselect1-stdout,v 1.6 2010/01/13 10:20:03 tom Exp $ 3188943Sthompsa 4188943Sthompsa. ./setup-vars 5188943Sthompsa 6188943SthompsaFILE=$HOME 7188943Sthompsafor n in .cshrc .profile .bashrc 8188943Sthompsado 9188943Sthompsa if test -f $HOME/$n ; then 10188943Sthompsa FILE=$HOME/$n 11188943Sthompsa break 12188943Sthompsa fi 13188943Sthompsadone 14188943Sthompsa 15188943SthompsaRESULT=`$DIALOG --stdout --title "Please choose a file" "$@" --fselect $FILE 14 48` 16188943Sthompsaretval=$? 17188943Sthompsa 18188943Sthompsa. ./report-string 19188943Sthompsa