in reply to Re: How to add a new line after three or four lines from a pattern after getting that pattern
in thread How to add a new line after three or four lines from a pattern after getting that pattern
The above mentioned code will be working if we remove the "HARD CODED" "default_operating_conditions : "AB0.5v45c" ;". If you look at my code, I am doing some operations for getting "AB0.5v45c" from " operating_conditions ("AB0.5v45c") { " . Like,
One more thing, how to avoid to print the very first "$VAR1 = [" section?splice @lines, $i + 5, 0, 'default_operating_conditions : "$operating_ +cond[0]" ;';
Thank you for your help :)
|
|---|