Mercurial > hg > cc > azure
comparison workers/bin/_findPDFs.sh @ 13:bba589cab837
shrinkJSON.sh: minimise "jq ." output
test1.sh: fix lrand regression
[_]findPDFs.sh: extract responses with application/pdf Content-Type
author | Henry S. Thompson <ht@markup.co.uk> |
---|---|
date | Fri, 12 Oct 2018 08:51:50 +0000 |
parents | be1034183e03 |
children |
comparison
equal
deleted
inserted
replaced
12:be1034183e03 | 13:bba589cab837 |
---|---|
1 #!/bin/bash | 1 #!/bin/bash |
2 echo "# $(date) > $ID.$1" | 2 echo "# $(date) > $ID.$1" |
3 fgrep msgtype=response|egrep '"Headers":{[^{]*"Content-Type":"application/pdf"' | jq . | 3 fgrep msgtype=response|egrep '"Headers":{[^{]*"Content-Type":"application/pdf"' |
4 echo "# $(date) < $ID.$1" | 4 echo "# $(date) < $ID.$1" |