Stock Market Today: Stocks Notch Hard-Fought Win After July CPI Report

The major market indexes closed up after Thursday's inflation data, but finished well off their session highs.