root/scripts/xml2db/test @ 12
1 |
#!/bin/bash
|
---|---|
2 |
# Tests xml2db
|
3 |
|
4 |
selfDir="$(dirname -- "$0")" |
5 |
|
6 |
export host= user=postgres database=vegbank |
7 |
if test -z "${password+_}" |
8 |
then
|
9 |
read -s -p "Password for $user@$host: "; echo |
10 |
export password="$REPLY" |
11 |
fi
|
12 |
|
13 |
cd "$selfDir" |
14 |
./xml2db <vb_plot_observation.xml |