Hello All,
I have an input sample data like below (In actual I have many columns and few million rows).
Need the output (using awk and/or sed preferably) like below. Here I need all the lines between 2 matching strings(inclusive) from a particular column (in this case, column 1) but the matching strings are the same ones "Hello".
Also preserve the header too.
Thanks
Sidda
I have an input sample data like below (In actual I have many columns and few million rows).
Code:
Column1,Column2
4,2
1,5
Hello,4
1,4
Hello,2
3,5
Hello,8
4,5
Also preserve the header too.
Code:
Column1,Column2
Hello,4
1,4
Hello,2
3,5
Hello,8
Sidda