US inflation delivered a mixed signal in August, with headline consumer prices matching expectations while underlying inflation came in hotter than economists forecast.