title: How to find a pattern using sed?
body: <p>How can I combine multiple filters using <code>sed</code>? </p>
  
  <p>Here's my data set</p>
  
  <pre>sex,city,age
  male,london,32
  male,manchester,32
  male,oxford,64
  female,oxford,23
  female,london,33
  male,oxford,45</pre>
  
  <p>I want to identify all lines which contain MALE <b>AND</b> OXFORD. Here's my approach:</p>
  
  <pre><code>sed -n '/male/,/oxford/p' file
  </code></pre>
  
  <p>Thanks</p>