title: How to get the rest of the Pattern using any linux command?
body: <p>I am try to update a file and doing some transformation using any linux tool.</p>
  
  <p>For example, here I am trying with <code>awk</code>.</p>
  
  <p>Would be great to know how to get the rest of the pattern?</p>
  
  <pre><code>awk -F '/' '{print $1"/raw"$2}' &lt;&lt;&lt; "string1/string2/string3/string4/string5"
  string1,rawstring2
  </code></pre>
  
  <p>here I dont know how many "/" is there and I want to get the output:</p>
  
  <pre><code>string1/rawstring2/string3/string4/string5
  </code></pre>