freebsd-skq/contrib/dialog/samples/programbox
2011-04-17 17:28:17 +00:00

20 lines
268 B
Bash
Executable File

#!/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