PageRenderTime 30ms CodeModel.GetById 23ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/contrib/dialog/samples/fselect

https://bitbucket.org/freebsd/freebsd-head/
Shell | 11 lines | 6 code | 3 blank | 2 comment | 0 complexity | d6aa194cfd881841aa50538499729bb9 MD5 | raw file
 1#!/bin/sh
 2# $Id: fselect,v 1.11 2010/01/13 10:20:03 tom Exp $
 3
 4. ./setup-vars
 5
 6exec 3>&1
 7RESULT=`$DIALOG --title "Please choose a file" "$@" --fselect $HOME/ 14 48 2>&1 1>&3`
 8retval=$?
 9exec 3>&-
10
11. ./report-string