diff options
author | Aaron M. Ucko <ucko@debian.org> | 2020-04-27 20:02:40 -0400 |
---|---|---|
committer | Aaron M. Ucko <ucko@debian.org> | 2020-04-27 20:02:40 -0400 |
commit | 9278fc9cee26f72d7a9ccec6e32d6595d2703d93 (patch) | |
tree | 55c4a37dc4443f8610d53f4a4dbc145f69c85638 /pm-index | |
parent | a312eefb2ebf8cd53bc1fc6df031d5f932744bca (diff) |
New upstream version 12.4.20191105+ds
Diffstat (limited to 'pm-index')
-rwxr-xr-x | pm-index | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -45,3 +45,24 @@ do echo "$seconds seconds" sleep 1 done + +for fl in *.xml +do + base=${fl%.xml} + echo "$base.e2x" + seconds_start=$(date "+%s") + if [ -s "$data/meshtree.txt" ] + then + cat "$fl" | + xtract -transform "$data/meshtree.txt" -e2index | + gzip -1 > "$target/$base.e2x.gz" + else + cat "$fl" | + xtract -e2index | + gzip -1 > "$target/$base.e2x.gz" + fi + seconds_end=$(date "+%s") + seconds=$((seconds_end - seconds_start)) + echo "$seconds seconds" + sleep 1 +done |