HardenedBSD/contrib/dialog/samples/programbox2
2011-04-17 17:28:17 +00:00

20 lines
282 B
Bash
Executable File

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