On another post (here), I saw the following manipulation. Let $n$ be a positive integer,
$$ \int_0^{\pi/2}\frac{|\sin(2nx)|}{x} = \sum_{k=1}^n\int_0^\pi\frac{\sin(x)}{x+(k-1)\pi} $$
Is this correct? If so how does one arrive at this?
Edit: Numerical tests support it so I believe it. Just don't see how you get to it.