title: Shell Script for Searching text with variable and replace it with content
body: <p>im new to shell script, but i need something to search a file with any given variable, and if the file contains this variable replace it with the variables alias</p>
  
  <p>the text would be some thing like:</p>
  
  <pre><code>74304050 = +4574304050@voip1.local
  74304051 = +4574304051@voip1.local
  20304050 = +4520304050@voip2.local
  20304051 = +4520304051@voip2.local
  </code></pre>
  
  <p>so if i use call the shell script with 20304050 i get +4520304050@voip1.local</p>
  
  <p>how can this be done, i need it for calling aliases and rewriting them in opensips config file?</p>