below content has been written in a text file called test.txt. How to retrieve pending & completed count value in shell script?
<p class="pending">Count: 0</p>
<p class="success">Count: 0</p>
<p class="completed">Jobs completed today: 0</p>
echo 'Fetching job page and write to ZipJobs.txt file...'
curl -o Jobs.txt https://cms.test.com/test
status=`grep "Jobs completed today" /home/Jobs.txt | ???