1#!/bin/sh 2# $Id: buildlist4,v 1.2 2020/11/26 00:03:58 tom Exp $ 3 4. ./setup-vars 5 6. ./setup-tempfile 7 8$DIALOG --title "BUILDLIST DEMO" --backtitle "A user-built list" \ 9 --separator "|" \ 10 --help-button \ 11 --item-help \ 12 --buildlist "hello, this is a --buildlist..." 0 0 0 \ 13 "1" "Item number 1" "on" first \ 14 "2" "Item number 2" "off" second \ 15 "3" "Item number 3" "on" third \ 16 "4" "Item number 4" "on" fourth \ 17 "5" "Item number 5" "off" fifth \ 18 "6" "Item number 6" "on" sixth 2> $tempfile 19 20returncode=$? 21 22. ./report-tempfile 23