I have one more question with file manipulation.
Suppose I have the following structure in a file :
Instance J1 (
net n2 ()
Instance J2 (
Instance J3 (
As an example, I want to read J3/net n3.
(the files are huge …in GB)
I can grep for n3 but it will return 3 instances of n3.
How can I ensure that Im reading n3 values that belong to instance
Thank you for your time. I really appreciate your help.