view workers/bin/_findPDFs.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 bba589cab837
children
line wrap: on
line source

#!/bin/bash
echo "# $(date) > $ID.$1"
fgrep msgtype=response|egrep '"Headers":{[^{]*"Content-Type":"application/pdf"'
echo "# $(date) < $ID.$1"