It works and thanks for your time but I have problem there as I cant give the pattern "Old_Pattern" as that can be anything and I used "*" which didnt work. Im really new to awk so can...
I have to replace a pattern found in the first uncommented line in a file. The challenge I'm facing is there are several such similar lines but I have to edit only the first uncommented line.
...