2 # $Id: buildlist2,v 1.6 2012/12/23 22:28:12 tom Exp $
12 test -z "$filename" && break
24 case "x$DIALOGOPTS" in
25 *--no-items*|*--noitem*)
26 echo $filename $state >>$input
29 echo $count $filename $state >>$input
32 count=`expr $count + 1`
35 $DIALOG --title "BUILDLIST DEMO" --backtitle "A user-built list" \
36 --visit-items --scrollbar --separator "|" \
37 --buildlist "hello, this is a --buildlist..." 0 0 10 `cat $input` 2> $output