File: textbox-both

package info (click to toggle)
dialog 1.1-20120215-2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 2,740 kB
  • sloc: ansic: 14,903; sh: 7,688; makefile: 392; perl: 355; python: 164
file content (21 lines) | stat: -rwxr-xr-x 379 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh
# $Id: textbox-both,v 1.1 2011/01/18 09:59:47 tom Exp $

. ./setup-vars

. ./setup-tempfile

TEXT=/usr/share/common-licenses/GPL
test -f $TEXT || TEXT=../COPYING

cat textbox.txt | expand > $tempfile
cat $TEXT | expand >> $tempfile

$DIALOG --clear --title "TEXT BOX" \
	--help-button \
	--extra-button "$@" \
	--textbox "$tempfile" 22 77

retval=$?

. ./report-button