sed ':a;N;$!ba;s/\n//g'
but don't ask me how it works - just copy and paste programming (I modified one script)
]]>sed '/\[ ]*$/N;s|\[ ]*n| |g'
I have a file which I want to parse in bash:
hello = "goodbye"
test = "this line is
continued"
I can't seem to force sed, or anything else, to work with the line continuation...
maybe I can pre-parse it and remove newlines that have a "" before it... *shrug*
any help?