[5a71fa]: dist / docfactory / make-doc.sh  Maximize  Restore  History

Download this file

31 lines (26 with data), 703 Bytes

 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
#!/bin/bash
read -s -p "enter mysql root's password: " MYSQLPASSWORD
echo
export MYSQLPASSWORD
docdir=../doc
l="wn-dict wn-cased wn-links wn-misc wn-morph wn-vframe legacy vn bnc sumo xwn wn-cardinality"
pushd ..
./builder-mysql.sh dump view creates | mysql -u root --password=$MYSQLPASSWORD wordnet30
popd
if [ ! -z "$inone" ]; then
for f in $s; do
f="../sql/mysql-$s-query.sql"
cat $f
done \
| mysql -X -u root --password=$MYSQLPASSWORD wordnet30 \
| tee sql.xml \
| ./format.sh - > sql.html
else
for s in $l; do
f="../sql/mysql-$s-query.sql"
cat $f \
| mysql -X -u root --password=$MYSQLPASSWORD wordnet30 \
| tee sql-$s.xml \
| ./format.sh - > $docdir/sql-$s.html
done \
fi

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks