How do you replace a blank line in a file with a certain character using sed?
I have used the following command but it still returns the original input:
You may have tabs or white spaces in your filename' empty lines, try the following:
filename
sed 's/^\s*$/>/' filename