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 whitespace in your input. First thing to try is:
sed 's/^[[:blank:]]*$/>/' filename