title: Bash script - grep output
body: <p>I need an output for multiple grep commands.</p>
  
  <p>patterns: ([^"#]+)</p>
  
  <pre><code>wget -q -O - http://www.site1.com  | grep -o -E -m 1 'site1content = "([^"#]+)"'
  wget -q -O - http://www.site2.com  | grep -o -E -m 1 'site2content"([^"#]+)"
  .........
  </code></pre>
  
  <p>Output file:</p>
  
  <pre><code>http://www.site1.com***pattern
  http://www.site2.com***pattern
  </code></pre>