annotate bin/_atest3.sh @ 383:def4c3375b02
plus
version of warc.py which uses igzip, therefore doesn't support the block position in the callback result
| author |
Henry S. Thompson <ht@inf.ed.ac.uk> |
| date |
Thu, 11 Jun 2026 21:26:09 +0100 |
| parents |
a00e888e4df3 |
| children |
|
| rev |
line source |
|
377
|
1 #!/usr/bin/bash
|
|
|
2 # Usage: _atest3.sh j n
|
|
379
|
3 # Process the jth group of cdx files taken n at a time
|
|
|
4 # with 10 parallel threads at a time
|
|
377
|
5 j=$1
|
|
|
6 n=$2
|
|
|
7 h_s=$((n * j))
|
|
|
8 h_e=$(( ( ( n * (j + 1) ) - 1 ) ))
|
|
|
9 echo _a passed j=$j n=$n, processing "[$h_s,$h_e]"
|
|
|
10 #seq --format "%03g" $h_s $h_e | parallel -j 10 echo '$(date)' cdx-00'{}.gz' ' {#} \| sus' #| uniq_merge.py
|
|
|
11 cd /work/dc007/dc007/hst/results/CC-MAIN-2025-33/warc_lmhx/idx
|
|
|
12 seq --format "%03g" $h_s $h_e | parallel -j 10 'uz cdx-00{}.gz | /work/dc007/dc007/shared/bin/cdx2tsv.sh languages | egrep -v "NA|," | sus' | uniq_merge.py
|