Here's proof of Royden's real analysis:
My question is do we real have bounded interval $[f(a),f(b)]$. Because if we let $f(a)=-\infty$ and $f(b)=\infty$, so is this proof wrong?
By the way, I prefer to prove this in this way:How to show that a set of discontinuous points of an increasing function is at most countable .