title: awk search on multiple fields of a multi line record file
body: <p>I have a file with records that are of the form:</p>
  
  <pre><code>SMS-MT-FSM-DEL-REP
  country: IN
  1280363645.979354_PFS_1_1887728354
  
  SMS-MT-FSM-DEL-REP
  country: IN
  1280363645.729309_PFS_1_1084296392
  
  SMS-MO-FSM
  country: IR
  1280105721.484103_PFM_1_1187616097
  
  SMS-MO-FSM
  country: MO
  1280105721.461090_PFM_1_882824215
  </code></pre>
  
  <p>This lends itself to parsing via awk using something like:
      awk 'BEGIN { FS="\n"; RS="" } /country:.*MO/ {print $0}'</p>
  
  <p>My question is how do I use awk to search the records on 2 separate fields? For example I only want to print out records that have a country of MO AND whos record first line is SMS-MO-FSM ?</p>