Hi,

I have a long list of city names (more than 2,000 of them) in a file, each
name on a separate line. I'd like to modify each line so that:

ABERFOYLE
.
.
ZURICH

Becomes:

cities[0] = "ABERFOYLE"
.
.
cities[2039] = "ZURICH"

Is there a way I could issue a command (or some commands) and achieve the
above?

Thanks,

Salman



Reply via email to