in reply to Re^8: 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
Hello again anirbanphys,
I have added the last update tha contains the full solution. One minor thing that I added is on the string that you add to the array. I noticed from the desired output sample 'default_operating_conditions : "AB0.5v45c" ;' should be ' default_operating_conditions : "AB0.5v45c" ;' I guess? I simply added two white spaces (nothing special).
If see the updated code if not do not modify it :)
BR / Thanos
Seeking for Perl wisdom...on the process of learning...not there...yet!
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^10: How to add a new line after three or four lines from a pattern after getting that pattern
by anirbanphys (Beadle) on Apr 03, 2019 at 14:19 UTC |
In Section
Seekers of Perl Wisdom