Some rows have 1 column, whereas some have 2. The ones that have 2 columns have one column (1st column) that start with rs.
I need to manipulate this text file so that the rows that have a single column get a second column so that the single column becomes the second column of the text file and the first column gets copied from the first column of the row above. So that the output looks like this:
Thanks but the code that you just posted only works to fill in the first missing gap but it doesnt work for the rest. Instead it fills the rest of the gaps with the second column of the row before, not the first column.