Hi,
I have the following XML not well-indented code:
<hallo
>this is a line
</hallo>
So I need to remove the newline.
This syntax finds what I need to correct, but I don't know how to remove the newline after my pattern:
sed 's/<.*[^>]$/&/'
How can I subtract the newline after my pattern, please?
Thank you in advance,
Nico