Mercurial > hg > cc > cirrus_home
annotate bin/doS2T.sh @ 195:5f3c36e4fd6d default tip
add target test-core which (dangerously) avoids (we hope pointless) recompilation of all the plugins
author | Henry S. Thompson <ht@inf.ed.ac.uk> |
---|---|
date | Thu, 26 Sep 2024 17:55:56 +0100 |
parents | 2643a6825f17 |
children |
rev | line source |
---|---|
154 | 1 #!/usr/bin/bash |
2 # Usage: doS2T.sh node task cc resdir segs workd dbfile | |
3 node=$1 | |
4 task=$2 | |
5 cc=$3 | |
6 resdir=$4 | |
7 segs=$5 | |
8 workd=$6 | |
9 dbfile=$7 | |
10 | |
11 f=${dbfile%.db} | |
12 i=${f#*cdx} | |
13 | |
14 echo "> $node.$task: $segs $i" | |
15 | |
16 sqlite3 $dbfile ".mode tabs" ".once $workd/$i.tsv" "select count(*),* from props group by segment,ftype,https,nlangs" ".quit" | |
17 | |
18 echo "< $node.$task: $segs $i"; | |
19 | |
20 |