title: Multiple strings in for loop grep -wc
body: <p>How do I add multiple strings to search the same file for:</p>
  
  <p>Currently:</p>
  
  <pre><code>#!/bin/bash
  
  for log in filename.log.201[45]-*-*.gz; do
      printf '%s:' "$log"
      zcat "$log" | grep -wc 'dollar for dollars'
  done
  </code></pre>
  
  <p>Desired result:</p>
  
  <pre><code>#!/bin/bash
  
  for log in filename.log.201[45]-*-*.gz; do
      printf '%s:' "$log"
      echo "count for dollar for dollars"
      zcat "$log" | grep -wc 'dollar for dollars'
  
      echo "count for pollar for pollars"
      zcat "$log" | grep -wc 'pollar for pollars'
  done
  </code></pre>