Duplicating entries in textfile for empty entries until a non-empty entry is found, then continue with the new entry
I have a very large textfile in which some entries are missing. The logic is persistent, as the first line of each “section” has the correct entries, every line after this initial line is missing these entries. I’m trying to update every line which misses these entries with the information from the initial line until a new “inital information line” is found. After that I’m continuing with this new found data.