A
Andrew Munn
What is the best way to take each line beginning with <some_string> and move
it down 5 lines lower in the file?
Also, If you want to replace two consecutive blank lines with a single blank
line, how do you do it? This isn't working:
cat test_file.txt|sed -r 's/[\n\n]/[\n]/'
Thanks!!
it down 5 lines lower in the file?
Also, If you want to replace two consecutive blank lines with a single blank
line, how do you do it? This isn't working:
cat test_file.txt|sed -r 's/[\n\n]/[\n]/'
Thanks!!