freebsd-nq/contrib/dialog/samples/programbox2

20 lines
282 B
Plaintext
Raw Normal View History

2011-04-17 17:00:55 +00:00
#!/bin/sh
# $Id: programbox2,v 1.1 2011/03/02 01:25:31 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 "ProgramBox" 20 70