Mercurial > hg > cc > azure
view workers/bin/count1.sh @ 59:8332faef25e1
get quoting and arg positions right
| author | Henry S. Thompson <ht@markup.co.uk> |
|---|---|
| date | Thu, 28 May 2020 09:58:38 +0000 |
| parents | 36b5d379909a |
| children |
line wrap: on
line source
#!/bin/bash echo "# $(date) > $ID.$1" jq '.Envelope|.["WARC-Header-Metadata"]["WARC-Target-URI"]'|cut -f 1 -d ':'|awk '{c[$1]+=1} END {for (k in c) {print k, c[k]}}' echo "# $(date) < $ID.$1"
