title: how to replace multiple lines using bash?
body: <p>I have a file with thousands of lines. I'm looking for help to modify multiple lines which i were to choose.</p>
  
  <pre><code>Package: com.xyz.abc
  Version: 1.0
  Filename: ./debs/abc.deb
  
  Package: com.xyz.def
  Version: 1.0.0-1
  Filename: ./debs/def.deb
  </code></pre>
  
  <p>I need a bash command to detect "Filename" then change them to something like this:</p>
  
  <pre><code>Package: com.xyz.abc
  Version: 1.0
  Filename: ./debs/download.php?p=abc
  
  Package: com.xyz.def
  Version: 1.0.0-1
  Filename: ./debs/download.php?p=def
  </code></pre>
  
  <p>And it will loop till all "Filename" have been changed.</p>