title: shell script(AIX) : finding a string after the matched pattern line by line in a file
body: <p>I have a log file in AIX environment which has lines like below</p>
  
  <pre><code>10.100.108.23 100.10.10.11 - [05/Dec/2012:09:35:27 +0000] "GET /chgs/checkprofile/checkServlet?requestType=signPart1&amp;off=false&amp;oquestions=true&amp;userid=false&amp;source=false&amp;link=%23&amp;country=us&amp;language=en&amp;origin=&amp;displayLayer=no HTTP/1.1" 200 8904 "https://www.test.com/services/request/Home.action" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C)" "PD-ERR=; rlang=nl_NL;
  </code></pre>
  
  <p>I need to find the country and language from each line which comes after the pattern <code>&amp;country</code> and <code>&amp;language</code> respectively. As i am new to shell scripting, i tried to achieve this with grep and awk scripts, but no luck.</p>