Search Results

Search: Posts Made By: Skonectthedots
7,384
Posted By Skonectthedots
Insert String every n lines, resetting line counter at desired string
I need to read a text file and insert a string every n lines, but also have the line counter restart when I come across a header string.

Line repeating working every 3 lines using code:

sed...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 02:20 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy