diff options
| author | Nathan Whitehorn <nwhitehorn@FreeBSD.org> | 2011-04-17 17:00:55 +0000 |
|---|---|---|
| committer | Nathan Whitehorn <nwhitehorn@FreeBSD.org> | 2011-04-17 17:00:55 +0000 |
| commit | d9bc2c28cdecd831822f6fc6d2e813a789481d0d (patch) | |
| tree | 9f4aad12e1032cbbf8e386136b4b4cad08096572 /samples/programbox | |
| parent | fe24989830eac66b52d803c7a65ebf438100b714 (diff) | |
Notes
Diffstat (limited to 'samples/programbox')
| -rwxr-xr-x | samples/programbox | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/samples/programbox b/samples/programbox new file mode 100755 index 000000000000..9fa0abc82000 --- /dev/null +++ b/samples/programbox @@ -0,0 +1,19 @@ +#!/bin/sh +# $Id: programbox,v 1.1 2011/03/02 01:17:28 tom Exp $ + +. ./setup-vars + +. ./setup-tempfile + +ls -1 >$tempfile +( +while true +do +read text +test -z "$text" && break +ls -ld "$text" +sleep 0.1 +done <$tempfile +) | + +$DIALOG --title "PROGRAMBOX" "$@" --programbox 20 70 |
