I want to merge two lines after a pattern using sed (no awk please because I am using windows) so for example here is the input

pattern
XXXXXX
YYYYYY

and here is the output:

 XXXXXXYYYYYY
Edit
Report