File: z88

package info (click to toggle)
z88 13.0.0+dfsg2-6
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 107,792 kB
  • sloc: ansic: 45,530; sh: 71; makefile: 14
file content (55 lines) | stat: -rw-r--r-- 1,363 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#!/bin/sh
# This script checks for the existence of the three very important Z88
# parameter files z88.fcd, z88.dyn and z88i4.txt and launches the
# Z88 commander

if ! test -f z88.dyn
  then
    cp /usr/share/z88/z88.dyn .
fi

if ! test -f z88.fcd
  then
    cp /usr/share/z88/z88.fcd .
fi

if ! test -f z88i4.txt
  then
    cp /usr/share/z88/z88i4.txt .
fi

if ! test -f z88i1.txt
  then
    if ! test -f z88ni.txt
      then
        if ! test -f z88x.dxf
          then
            if ! test -f z88g.cos
              then
                cp /usr/share/z88/b1_x.dxf z88x.dxf
                cp /usr/share/z88/b1_2.txt z88i2.txt
                cp /usr/share/z88/b1_3.txt z88i3.txt
                echo "First Z88 example loaded"
              else
                echo "A Z88 input file z88g.cos exists"
            fi
          else
            echo "A Z88 input file z88x.dxf exists"
        fi
      else
        echo "A Z88 input file z88ni.txt exists"
    fi
  else
    echo "A Z88 input file z88i1.txt exists"
fi

echo "For further information consult"
echo "   /usr/share/doc/z88-doc/html/e88ix.htm  or"
echo "or in German:"
echo "   /usr/share/doc/z88-doc/html/g88ix.htm"
echo ""
#echo "/usr/share/doc/z88/z88mane.pdf (English) or"
#echo "/usr/share/doc/z88/z88mang.pdf (German)"
echo "*** Starting the Z88 Finite Elements Analysis system ***"

z88com