Electronic density of states for a one-dimensional liquid