For the first time single-shot harmonic spectra generated by few-optical-cycle pulses have been measured. Clear carrier-envelope phase effects have been observed in the cutoff harmonic spectral structure. Results have been interpreted in terms of the nonadiabatic single-atom response of the nonlinear medium excited by few-optical-cycle pulses.