title: How to search for a pattern in a line and print data which is present after that pattern in that line
body: <p>I have file which has uneven lines as below:</p>
  
  <pre><code>jacktyutu/ABC/uyiyi/yyuiyiu/1.java
  adhjasgdhg/gsdjgf/ABC/sdfhgsdfj/sdjfhsd/sdfkjhsdkf/2.java
  adhjasgdhg/01/ABC/sdfhgs/213/j/sdjfhsd/sdfkjhsdkf/3.java
  sd/asd/asd/ABC/sdjg/76/987/4.java
  </code></pre>
  
  <p>From the above file I want to search for the pattern <code>ABC</code> from each line and print the rest of the data from that line for ex</p>
  
  <p>My output should be as below:</p>
  
  <pre><code>uyiyi/yyuiyiu/1.java
  sdfhgsdfj/sdjfhsd/sdfkjhsdkf/2.java
  sdfhgs/213/j/sdjfhsd/sdfkjhsdkf/3.java
  sdjg/76/987/4.java
  </code></pre>
  
  <p>How to achieve this in shell script or with <code>awk</code> and <code>sed</code>?</p>