I have the following text:Source IP,URL1.1.1.1,example1.comBlank,example2.com2.2.2.2,example3.comBlank,example4.comBlank,example5.comBlank,example6.comBlank,example7.com7.7.7.7,example8.comBlank,example9.comBlank,example10.comHow can i replace Blank with the the non-blank value above it and get the following output?Source IP,URL1.1.1.1,example1.com1.1.1.1,example2.com2.2.2.2,example3.com2.2.2.2,example4.com2.2.2.2,example5.com2.2.2.2,example6.com2.2.2.2,example7.com7.7.7.7,example8.com7.7.7.7,example9.com7.7.7.7,example10.com
Replace certain strings with value from former line
text processing;awk