Suppose that f:[a,b] --> R is of bounded variation on every closed subinterval of (a,b). Does it follow that f is of bounded variation on [a,b]?