I'm trying to merge these two lines that appear periodically in a text file.
travel_
by_night_and_day
I have tried:
sed '/_\nby/_by/s' input.txt > output.txt
but, it doesn't do anything.
Do I have to escape something?
It's a text file created in ubuntu 12.04
Any suggestions?