ksh: fix up shipin for more modern systems WRT test and wc
[oweals/cde.git] / cde / databases / doit.test.sh
1 #!/bin/ksh
2 # $XConsortium: doit.test.sh /main/2 1995/07/19 18:04:31 drk $
3
4 #
5 # creates .udb entries  but checks first to see if they 
6 # are already there
7 #
8 files="
9 hp/rivers/bitmaps/Vuefile/Color/action.l.pm
10 hp/rivers/bitmaps/Vuefile/Color/action.s.pm
11 hp/rivers/bitmaps/Vuefile/Color/actionC.l.pm
12 hp/rivers/bitmaps/Vuefile/Color/annotatr.l.pm
13 hp/rivers/bitmaps/Vuefile/Color/aplcore.l.pm
14 hp/rivers/bitmaps/Vuefile/Color/arizona.l.pm
15 hp/rivers/bitmaps/Vuefile/Color/binary.l.pm
16 hp/rivers/bitmaps/Vuefile/Color/binmulti.l.pm
17 hp/rivers/bitmaps/Vuefile/Color/bitmap.l.pm
18 hp/rivers/bitmaps/Vuefile/Color/clock.l.pm
19 hp/rivers/bitmaps/Vuefile/Color/codering.l.pm
20 hp/rivers/bitmaps/Vuefile/Color/comprsd.l.pm
21 hp/rivers/bitmaps/Vuefile/Color/data.l.pm
22 hp/rivers/bitmaps/Vuefile/Color/data.s.pm
23 hp/rivers/bitmaps/Vuefile/Color/deliver.l.pm
24 hp/rivers/bitmaps/Vuefile/Color/deliver.s.pm
25 hp/rivers/bitmaps/Vuefile/Color/dirRed.l.pm
26 hp/rivers/bitmaps/Vuefile/Color/dirRed.s.pm
27 hp/rivers/bitmaps/Vuefile/Color/dirblue.l.pm
28 hp/rivers/bitmaps/Vuefile/Color/dirblue.pm
29 hp/rivers/bitmaps/Vuefile/Color/dirblue.s.pm
30 hp/rivers/bitmaps/Vuefile/Color/direye.l.pm
31 hp/rivers/bitmaps/Vuefile/Color/dirlock.l.pm
32 hp/rivers/bitmaps/Vuefile/Color/dirlockd.l.pm
33 hp/rivers/bitmaps/Vuefile/Color/dirup.l.pm
34 hp/rivers/bitmaps/Vuefile/Color/diryello.l.pm
35 hp/rivers/bitmaps/Vuefile/Color/diryello.s.pm
36 hp/rivers/bitmaps/Vuefile/Color/dotC.l.pm
37 hp/rivers/bitmaps/Vuefile/Color/dotH.l.pm
38 hp/rivers/bitmaps/Vuefile/Color/envelope.l.pm
39 hp/rivers/bitmaps/Vuefile/Color/envelope.s.pm
40 hp/rivers/bitmaps/Vuefile/Color/envopen.l.pm
41 hp/rivers/bitmaps/Vuefile/Color/envopen.s.pm
42 hp/rivers/bitmaps/Vuefile/Color/execute.l.pm
43 hp/rivers/bitmaps/Vuefile/Color/execute.s.pm
44 hp/rivers/bitmaps/Vuefile/Color/firecrkr.l.pm
45 hp/rivers/bitmaps/Vuefile/Color/hpterm.l.pm
46 hp/rivers/bitmaps/Vuefile/Color/intray.l.pm
47 hp/rivers/bitmaps/Vuefile/Color/intray.pm
48 hp/rivers/bitmaps/Vuefile/Color/key.l.pm
49 hp/rivers/bitmaps/Vuefile/Color/magtape.l.pm
50 hp/rivers/bitmaps/Vuefile/Color/mailrnr.l.pm
51 hp/rivers/bitmaps/Vuefile/Color/mailrnr.s.pm
52 hp/rivers/bitmaps/Vuefile/Color/opentbox.l.pm
53 hp/rivers/bitmaps/Vuefile/Color/opentbox.s.pm
54 hp/rivers/bitmaps/Vuefile/Color/penpad.l.pm
55 hp/rivers/bitmaps/Vuefile/Color/pixmap.l.pm
56 hp/rivers/bitmaps/Vuefile/Color/pkg.l.pm
57 hp/rivers/bitmaps/Vuefile/Color/pkgopen.l.pm
58 hp/rivers/bitmaps/Vuefile/Color/qdoc.l.pm
59 hp/rivers/bitmaps/Vuefile/Color/question.l.pm
60 hp/rivers/bitmaps/Vuefile/Color/shell.l.pm
61 hp/rivers/bitmaps/Vuefile/Color/vfdata.l.pm
62 hp/rivers/bitmaps/Vuefile/Color/xterm.l.pm
63 "
64
65 set - $files
66
67 while [ $# -ne 0 ]; do
68
69  if [ `grep -c $1 VUE-RUN.udb` -eq 0 ]; then
70     echo $1
71     echo "{ default"
72     echo "      install_target = /usr/vue/icons/${1##*/}"
73     echo "}"
74     echo "#"
75  fi
76  shift
77  
78 done
79