Text this: Attosecond sampling of arbitrary optical waveforms