Created
May 9, 2011 01:47
-
-
Save stuartpb/961903 to your computer and use it in GitHub Desktop.
11 Lines of Lua About 88 Lines About 44 Women
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lines=[[ | |
Deborah was a Catholic girl | |
she held out till the bitter end | |
Carla was a different type | |
she's the one who put it in | |
Mary was a black girl | |
I was afraid of a girl like that | |
Suzen painted pictures | |
sitting down like a Buddha sat | |
Reno was a nameless girl | |
a geographic memory | |
Cathy was a Jesus freak | |
she liked that kind of misery | |
Vicki had a special way | |
of turning sex into a song | |
Kamala, who couldn't sing, | |
kept the beat and kept it strong | |
Zilla was an archetype | |
the voodoo queen, the queen of wrath | |
Joan thought men were second best | |
to masturbating in a bath | |
Sherry was a feminist | |
she really had that gift of gab | |
Kathleen's point of view was this | |
take whatever you can grab | |
Seattle was another girl | |
who left her mark upon the map | |
Karen liked to tie me up | |
and left me hanging by a strap | |
Jeannie had a nightclub walk | |
that made grown men feel underage | |
Mariella, who had a son, | |
said I must go, but finally stayed | |
Gloria, the last taboo | |
was shattered by her tongue one night | |
Mimi brought the taboo back | |
and held it up before the light | |
Marilyn, who knew no shame, | |
was never ever satisfied | |
Julie came and went so fast | |
she didn't even say goodbye | |
Rhonda had a house in Venice | |
lived on brown rice and cocaine | |
Patty had a house in Houston | |
shot cough syrup in her veins | |
Linda thought her life was empty | |
filled it up with alcohol | |
Katherine was much too pretty | |
she didn't do that shit at all | |
Pauline thought that love was simple | |
turn it on and turn it off | |
Jean-Marie was complicated | |
like some French filmmaker's plot | |
Gina was the perfect lady | |
always had her stockings straight | |
Jackie was a rich punk rocker | |
silver spoon and a paper plate | |
Sarah was a modern dancer | |
lean pristine transparency | |
Janet wrote bad poetry | |
in a crazy kind of urgency | |
Tanya Turkish liked to fuck | |
while wearing leather biker boots | |
Brenda's strange obsession | |
was for certain vegetables and fruit | |
Rowena was an artist's daughter | |
the deeper image shook her up | |
Dee Dee's mother left her father | |
took his money and his truck | |
Debbie Rae had no such problems | |
perfect Norman Rockwell home | |
Nina, 16, had a baby | |
left her parents, lived alone | |
Bobbi joined a New Wave band | |
changed her name to Bobbi Sox | |
Eloise, who played guitar, | |
sang songs about whales and cops | |
Terri didn't give a shit | |
was just a nihilist | |
Ronnie was much more my style | |
cause she wrote songs just like this | |
Jezebel went forty days | |
drinking nothing but Perrier | |
Dinah drove her Chevrolet | |
into the San Francisco Bay | |
Judy came from Ohio | |
she's a Scientologist | |
Amaranta, here's a kiss | |
I chose you to end this list. | |
]] | |
--11 Lines of Lua About 88 Lines About 44 Women | |
local i = 1 | |
local linepairs = {} | |
local names, rnames = {}, {} | |
for linepair in string.gmatch(lines, "[A-Z].-\n.-\n") do | |
linepairs[i] = {string.match(linepair, "^(.-)\n(.-)\n$")} | |
names[i] = string.match(linepair, "^([A-Z][a-z]*)") | |
local ctd = string.match(linepair, "^[A-Z][a-z]*([ %-][A-Z][a-z]*)") | |
if ctd then names[i] = names[i] .. ctd end | |
rnames[names[i]] = i | |
i = i + 1 | |
end | |
-- | |
for i=1, #names do | |
print(names[i]) | |
end | |
--print(linepairs[rnames.Vicki][1]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment