[667a13]: generate / run / run-postgresql.sh Maximize Restore History

Download this file

run-postgresql.sh    19 lines (14 with data), 437 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
#!/bin/bash
modules="wordnet legacy verbnet xwordnet bnc sumo glosslf"
root=../..
for module in $modules; do
indir=$root/$module/src/main/resources/org/wnsql/builder/$module
outdir=$indir
infile=$indir/template.properties
reffile=$indir/postgresql.properties
outfile=$outdir/test.properties
#stat $infile
python ./template-postgres-filter.py < $infile > $outfile
#meld $infile $outfile $reffile
meld $outfile $reffile
done