Dollar gains as markets await U.S. inflation data

by