From 82477f20007da94d3b3d76b6d90dfe68801ec552 Mon Sep 17 00:00:00 2001 From: brooke Date: Mon, 29 May 2023 19:05:56 -0400 Subject: [PATCH] Add movie formatting script in Go --- LICENSE | 2 - fix-movie-list/movie-list.txt | 489 ++++++++++++++++++++++++++++++++++ fix-movie-list/movies.md | 454 +++++++++++++++++++++++++++++++ fix-movie-list/txt-to-md.go | 58 ++++ 4 files changed, 1001 insertions(+), 2 deletions(-) create mode 100644 fix-movie-list/movie-list.txt create mode 100644 fix-movie-list/movies.md create mode 100644 fix-movie-list/txt-to-md.go diff --git a/LICENSE b/LICENSE index 2071b23..f7f7438 100644 --- a/LICENSE +++ b/LICENSE @@ -1,7 +1,5 @@ MIT License -Copyright (c) - Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. diff --git a/fix-movie-list/movie-list.txt b/fix-movie-list/movie-list.txt new file mode 100644 index 0000000..6970c62 --- /dev/null +++ b/fix-movie-list/movie-list.txt @@ -0,0 +1,489 @@ +2 Seconds 1998 Manon Briand +2001: A Space Odyssey 1968 Stanley Kubrick +25th Hour, The 2002 Spike Lee +9-1/2 Weeks 1986 Adrian Lyne +About a Boy 2002 Chris & Paul Weitz +Accused (The) (1988) Jonathan Kaplan +Adventures of Priscilla, Queen of the Desert, The 1994 Stephan Elliot +Affliction 1998 Paul Schrader +Alien 1979 Ridley Scott +Alien Dreamtime 2003 Ken Adams +Alien Nation 1988 Graham Baker +Alien Resurrection 1997 Jean-Pierre Jeunet +Alien3 1992 David Fincher +Aliens 1986 James Cameron +Alive & Kicking 1996 Nancy Meckler +All About My Mother 1999 Pedro Almodovar +All God’s Children (1996) Dee Musbacher, Frances Reid, & Susan Rhue +All That Jazz (1979) Bob Fosse +American Dream (2000) (Andrea Bocilli’s Statue of Liberty Concert) +American History X 1998 Tony Kaye +Amistad 1998 Steven Spielberg +Andrei Rublev 1969 Andrei Tarkovsky +Angel At My Table, An 1990 Jane Campion +Angels in America 2003 Mike Nichols +Angels & Insects 1995 Phillip Haas +Anima Mundi 1992 Godfrey Reggio +Apostle, The 1997 Robert Duvall +Assassination Tango 2002 Robert Duvall +Auntie Mame 1958 Morton DaCosta + +Babe 1995 Chris Noonan +Bagdad Café (1987) Percy Adlon +Bar Girls (1994) Marita Gionvanni +Barefoot In the Park 1967 Gene Saks +Barton Fink 1991 Joel Coen +Basquiat 1996 Julian Schnabel +Beaches 1988 Garry Marshall +Beatles Anthology (1995-96)(taped from TV series) +Beautiful Girls (1996) Ted Demme +Beautiful Thing 1996 Hettie MacDonald +Before Night Falls 2000 Julian Schnabel + +Bend It Like Beckham 2003 Gurinder Chadha +Betrayed (1988) Costa-Gavras +Better Than Chocolate 1999 Anne Wheeler +Big Chill, The 1985 Lawrence Kasdan +Big Easy, The 1987 Jim McBride +Big Night (1997) Stanley Tucci & Campbell Scott +Billy Crystal: Midnight Train to Moscow 1989 Paul Flaherty +Birthday Girl 2001 Jez Butterworth +Blaze (1986) Ron Shelton +Bloom (2004) Sean Walsh +Bob Roberts 1992 Tim Robbins +Body Heat 1981 Lawrence Kasdan +Book of Shadows: Blair Witch 2 2000 Joe Berlinger +Bound 1996 Larry & Andy Wachowski +Bowfinger 1999 Frank Oz +Broken Hearts Club, The 2000 Greg Berlanti +Bull Durham (1988) Ron Shelton +Burnt By the Sun 1994 Nikita Mikhalkov +Butcher’s Wife (The) (1991) Terry Hughes + +Cabaret 1972 Bob Fosse +Casablanca 1942 Michael Curtiz +Cecil B. DeMented 2000 John Waters +Cell, The 2000 Tarsem Singh +Celluloid Closet 1996 Robert Epstain & Jeffrey Friedman +Changer: A Record of the Times, The 1991 Francis Reid & Judy Dlugacz +Chariots of Fire 1981 Hugh Hudson +Chicago 2002 Rob Marshall +Children of a Lesser God 1986 Randa Haines +Children's Hour, The 1961 William Wyler +Chinatown 1974 Roman Polanski +Chocolate Babies 1997 Stephen Winter +Chuck & Buck 2000 Miguel Arteta +Chutney Popcorn 1999 Nisha Ganatra +Cinema Paradiso 1988 Giuseppe Tornatore +Citizen Kane 1941 Orson Welles +Civil Action, A 1998 Steven Zaillian +Clerks 1994 Kevin Smith +Close Encounters of the Third Kind 1977 Steven Speilberg +Coal Miner's Daughter 1980 Michael Apted +Color Purple, The 1985 Steven Spielberg +Commen Threads: Stories from the AIDS Quilt 1989 Robert Epstein & Jeffrey Friedman +Compleat Beatles 1982 Patrick Montgomery +Contender, The 2000 Rod Lurie +Cook, the Thief, His Wife & Her Lover, The 1989 Peter Greenaway +Cookie's Fortune 1999 Robert Altman +Cradle Will Rock 1999 Tim Robbins +Crash 1996 David Cronenberg +crazy/beautiful 2001 John Stockwell +Crimes & Misdemeanors 1989 Woody Allen +Crooklyn 1994 Spike Lee +Cry-Baby 1990 John Waters +Cry Freedom (1987) Richard Attenborough + +Dancer in the Dark 2000 Lars von Trier +Dangerous Liaisons 1988 Stephen Frears +Dark Wind 1991 Errol Morris +David & Lisa 1962 Frank Perry +Dawn of the Dead 1978 George Romero +Dead Poet’s Society (1989) (Peter Weir) +Death Becomes Her (1992) Robert Zemekis +Debut, The 2000 Gene Cajayon +Deer Hunter, The 1978 Michael Cimino +Desert Hearts 1985 Donna Deitch +Devil's Backbone, The (El Espinazo del diablo) 2001 Guillermo del Toro +Dick Tracy (1990) Warren Beatty +Dirty Dancing 1987 Emile Ardolino +Disappearance of Garcia Lorca, The 1997 Marcos Zurinaga +Do The Right Thing 1989 Spike Lee +Down In the Delta 1998 Maya Angelou +Dr. Strangeglove 1964 Stanley Kubrick +Dream Lover 1994 Nicholas Kazan + +Easy Rider 1969 Dennis Hopper +Eat Drink Man Woman 1994 Ang Lee +Ed Wood 1994 Tim Burton +Educating Rita (1989) Lewis Gilbert +Emerald Forest (The) (1985) John Boorman +Empire of the Sun 1987 Steven Spielberg +Everything Relative 1996 Sharon Pollack +Exotica 1995 Arom Egoyan +Eyes of Tammy Faye, The 1999 Fenton Bailey & Randy Barbato + +Faithful 1996 Paul Mazursky +Falcon & The Snowman (The) (1984) John Schlesinger +Fancy Dancing (2003) Sherman Alexie +Farewell My Concubine (1993) Chen Kaige +Favor, the Watch, & the Very Big Fish, The 1991 Ben Lewin +Felicia's Journey 1999 Atom Egoyan +Fiddler on the Roof 1971 Norman Jewison +Field of Dreams 1989 Phil Alden Robinson +Fifth Element 1997 Luc Besson +Fish Called Wanda, A 1988 Charles Crichton +Fisher King, The 1991 Terry Gilliam +Flirting 1990 John Duigan +Flirting with Disaster (1996) David O. Russell +For the Boys (1991) Mark Rydell +Four Weddings & a Funeral 1994 Mike Newell +Front (The) (1976) Woody Allen (recorded from tv) +French Lieutenant's Woman, The 1981 Karel Reisz +FX: Murder by Illusion (19860 Robert Mandel + +Gandhi (PBS documentary…no year recorded) +Gas Food Lodging (1992) Allison Anders +George Burns: A Century of Laughter +Get Bruce 1999 Andrew Kuehn +Get Carter (1970) Mike Hodges +Ghost 1990 Jerry Zucker +Girl 6 1996 Spike Lee +Girlfight 2000 Karyn Kusama +Girls Who Like Girls (2001) Pauline Edwards +Go Fish 1994 Rose Troche +Godfather I 1972 Francis Ford Coppola (recorded from tv) +Godfather II 1974 Francis Ford Coppola +Godfather III, The 1990 Francis Ford Coppola +Gods & Monsters 1998 Bill Condon +Good Girl, The 2002 Miguel Arteta +Good Morning Vietnem! (1987) Barry Levinson +Goodfellas 1990 Martin Scorsese +Gorillas in the Mist 1988 Michael Apted +Gosford Park 2001 Robert Altman +Grass Harp (The) 1997 Charles Matthau +Great Santini (The) 1979 Lewis John Carlino +Great Spirit/Sacred Ground 1994 +Groundhog Day 1993 Harold Ramis +Guess Who's Coming to Dinner 1967 Stanley Kramer +Guilty as Sin 1993 Sidney Lumet + +Hair 1979 Milos Forman +Half Moon Street 1986 Bob Swaim +Harold & Maude 1971 Hal Ashby +He Got Game 1998 Spike Lee +Heaven 2002 Tom Tykwer +Henry V 1989 Kenneth Branagh +Hi, Mom! 1970 Brian De Palma +Hi-Lo Country, The 1998 Stephen Frears +Hidden in Plain Sight 2003 John H. Smihula +High Art 1998 Lisa Cholodenko +High Fidelity 2000 Stephen Frears +History of Rock & Roll (The) (1995 Time Life series) +Honeymoon in Vegas 1992 Andrew Bergman +How the West Was Lost (1993) (Disney series from TV) +Howdy Doody (Yesteryear Series from TV) +Hunt for Red October (The) 1989 John McTiernan +Hurleyburley 1998 Anthony Drazan +Hush 1998 Jonathan Darby + +I Love Trouble 1994 Charles Shyer +I Shot Andy Warhol 1996 Mary Harron +Ideal Husband, An 1999 Oliver Parker +Imagine: John Lennon 1988 Andrew Solt +In & Out 1997 Frank Oz +Incredibly True Adventure of Two Girls in Love, The 1995 Maria Maggenti +Indochine 1993 Regis Wargnier +Insider, The 1999 Michael Mann +Intermezzo: A Love Story 1939 Gregory Ratoff +It's My Party 1996 Randal Kleiser + +Jagged Edge 1985 Richard Marquand +Jeffrey 1995 Christopher Ashley +Jerry Maguire 1997 Cameron Crowe +Jesus Christ Superstar 1973 Norman Jewison +Jewish Amwericans (The) 2008 (TV series) +John Adams 2008 (TV series) +Joni Mitchell: Woman of Heart & Mind 2003 Susan Lacy +Ju Dou 1989 Zhang Yimou +Jungle Fever 1991 Spike Lee +Jurassic Park 1993 Steven Spielberg + +King of Hearts 1966 Philippe de Broca +Kiss Me Deadly 1955 Robert Aldrich +Kiss of the Spider Woman 1985 Hector Babenco +Koyaanisqatsi 1983 Godfrey Reggio + +Last Days, The 1998 James Moll +Last Days of Disco, The 1998 Whit Stillman +Last Emperor, The 1987 Bernardo Bertolucci +Last Night 1998 Don McKellar +Last of the Dogmen 1995 Tab Murphy +Last Seduction, The 1994 John Dahl +Last Wave, The 1977 Peter Weir +Lavendar Limelight 1998 Marc Mauceri +Lemon Sisters, The 1990 Joyce Chopra +Life As A House 2001 Irwin Winkler +Life is Beautiful 1997 Roberto Benigni +Like Water for Chocolate 1992 Alfonso Arau (recorded from tv) +Limbo 1999 John Sayles +Limey, The 1999 Steven Soderbergh +Lord of the Flies 1990 Harry Hook +Lorenzo’s Oil 1992 George Miller +Love Actually 2003 Richard Curtis +Love & Basketball 2000 Gina Prince-Bythewood +Love Letter, The 1999 Peter Ho-Sun Chan +Lovely & Amazing 2001 Nicole Holofcener +Lover (The) 1992 Jean-Jacques Annaud +Lover Come Back 1961 Delbert Mann + +Mad City 1997 Costa Gavras +Mad Max 1979 George Miller +Magnolia 2000 Paul Thomas Anderson +Maltese Falcon, The 1941 John Huston +Man Facing Southeast 1986 Eliseo Subiela +Man Who Knew Too Much, The 1956 Alfred Hitchcock +Manny & Lo 1996 Lisa Krueger +Marat Sade 1966 Peter Brook +Marathon Man 1976 John Schlesinger +Marching For Freedom 1993 Bob Diamond +Mask, The 1994 Charles Russell +Master & Commander: The Far Side of the World 2003 Peter Weir +Matinee 1993 Joe Dante +Medicine Man 1992 John McTiernan +Messenger, The 1999 Luc Besson +Metropolitan 1990 Whit Stillman +Miami Rhapsody 1995 David Frankel +Microcosmos 1996 Claude Nuridsany & Marie Pérennou +Midaq Alley 1995 Jorge Fons +Midnight Express 1978 Alan Parker +Midnight Run 1988 Martin Brest +Mighty Aphrodite 1995 Woody Allen +Mighty Quinn, The 1989 Carl Schnekel +Miracle on 34th Street 1947 George Seaton +Misery 1990 Rob Reiner +Mission, The 1986 Roland Joffé +Mississippi Burning 1988 Alan Parker +Mississippi Masala 1991 Mira Nair +Mo' Better Blues 1990 Spike Lee +Moonlight Mile 2002 Brad Silberling +Mortal Thoughts 1991 Alan Rudolph +Music Box 1989 Costa-Gavras +Mosquito Coast, The 1986 Peter Weir +Mountains of the Moon 1990 Bob Rafelson +Mr. Holland's Opus 1995 Stephen Herek +Mumford 1999 Lawrence Kasdan +Murder at 1600 1997 Dwight Little +Murphy's Romance 1985 Martin Ritt +My Dog Skip 2000 Jay Russell +Mystic Pizza 1988 Donald Petrie + +Naked In New York 1993 Dan Algrant +Naked Lunch 1991 David Cronenberg +National Parks (Ken Burns) (recorded from TV) +Natural, The 1984 Barry Levinson +Neverending Story, The 1984 Wolfgang Petersen (from tv) +New Jack City 1991 Mario VanPeeples +Night Falls on Manhattan 1997 Sidney Lumet +Night of the Living Dead 1968 George A. Romero +Nightmare Before Christmas (The) 1993 Tim Burton +Ninth Configuration 1980 William Peter Blatty +Name of the Rose (The) 1986 Jean-Jacqued Annaud +No Way Out (1987) Ronald Donaldson +Normal (2003) Jane Anderson +North by Northwest 1959 Alfred Hitchcock +Notorious C.H.O. 2002 + +Ocean's Eleven 2001 Steven Soderbergh +October 22 (1991) Richard Schenkman +Officer & A Gentleman, An 1982 Taylor Hackford +On the Edge (1985) Rob Nilsson +One Hour Photo 2002 Mark Romanek +Open Your Eyes (Apre Los Ojos) 1997 Alejando Amenabar +Oscar (1991) John Landis +Oscar's Greatest Moments 1971 to 1991 +Othello 1952 Orson Welles +Others, The 2001 Alejandro Amenábar ‘ + +Pahasapa: The Struggle for the Black Hills 1994 Mel Lawrence +Pallbearer, The 1996 Matt Reeves +Paradise Road 1997 Bruce Beresford +Parting Glances 1986 Bill Sherwood +Party Girl 1995 Daisy von Scherler Mayer +Pastime (1992) Robin B. Armstrong +Patch Adams (1999) Tom Shadyak +Path to Paradise: The Untold Story of the World Trade Center Bombing 1997 Leslie Libman & Larry Williams +Pecker 1998 John Waters +Perfect Storm, The 2000 Wolfgang Petersen +Perfect World, A 1993 Clint Eastwood +Personal Best 1982 Robert Towne +Planes, Trains & Automobiles 1987 John Hughes +Platoon 1988 Oliver Stone +Player, The 1992 Robert Altman +Pleasantville 1998 Gary Ross +Pledge, The 2001 Sean Penn +Plenty 1985 Fred Schepisi +Poles Apart 2000 Greg Stiever +Posse 1993 Mario Van Peebles +Possession 2002 Neil LaBute +Powwow Highway 1998 Johnathan Wacks +Pretty Woman 1990 Gary Marshall +Priest 1994 Antonia Bird +Primary Colors 1992 Mike Nichols +Psycho 1960 Alfred Hitchcock +Purple Rose of Cairo, The 1985 Woody Allen +Putney Swope 1969 Robert Downy + +Q&A 1990 Sidney Lumet +Quatermass 1979 Pier Haggard +Querelle 1982 Rainer Werner Fassbinder +Quick Change 1990 Bill Murray & Howard Franklin +Quiet Earth, The 1985 Geoff Murphy + +Ragtime 1981 Milos Forman +Rambling Rose (1991) Martha Coolidge +Rear Window 1954 Alfred Hitchcock +Rebecca 1940 Alfred Hitchcock +Red Violin, The 1999 Francois Girard +Reds (1981) Warren Beatty +Reservoir Dogs 1992 Quentin Tarantino +Return of a Man Called Horse, The 1976 Irvin Kershner +Richard III (1995) Richard Loncraine +Ride With the Devil 1999 Ang Lee +Rites of Passage 1999 Victor Alva +River Runs Through It, A 1992 Robert Redford +Rocky 1976 John G. Avildsen +Roger & Me (1989) Michael Moore +Romeo & Juliet 1968 Franco Zefferelli +Room with a View, A 1985 James Ivory +Roots Parts 1,2,3 and 1/2 of 4 of the TV miniseries 1977 +Rope 1948 Alfred Hitchcock +Rosewood 1997 John Singleton +Rounders 1998 John Dahl +Roxanne 1987 Fred Schepisi +Run, Lola, Run 1999 Tom Tykwer + +Satyricon 1969 Frederico Fellini +Savior 1997 Peter Antonijevic +Schindler's List 1993 Steven Spielberg +School Daze 1988 Spike Lee +Scrooged 1989 Richard Donner +Secondhand Lions 2003 Tim McCanlies +Secrets & Lies 1996 Mike Leigh +Seeking the Stone: Mind & Time, Spirit & Matter (year?) Terrence McKenna +Seize the Day 1986 Fielder Cook +Set It Off 1996 F. Gary Gray +Shadowlands (1993) Richard Attenborough +Shakespeare In Love (1996) John Madden +She Devil (1989) Susan Sedelman +She's Gotta Have It 1986 Spike Lee +She's So Lovely 2000 +Shining, The 1980 Stanley Kubrick +Shrek 2001 Andrew Adamnson & Vicky Jenson +Silence of the Lambs 1991 Jonathan Demme +Simon Birch 1998 Mark Steven Johnson +Simple Plan, A 1999 Sam Raimi +Singing in the Rain (1951) Gene Kelly & Stanley Donen +Sirens 1994 John Duigan +Sixth Sense, The 1999 M. Night Shyamalan +Sleeper 1973 Woody Allen +Sleepers 2001 Barry Levenson +Small Time Crooks 2000 Woody Allen +Smoke Signals 1998 Chris Eyre +Sneakers (1992) Phil Aldon Robinson +Snow Falling on Cedars 1999 Scott Hicks +Solaris (remake) 2002 Steven Soderbergh +Soldier's Story, A 1984 Norman Jewison +Something's Gotta Give 2003 Nancy Meyers +Sophie's Choice 1982 Alan J. Pakula +Spanish Prisoner, The 1997 David Mamet +Spawn 1997 Mark A.Z. Dippé +Splash 1983 Ron Howard (recorded from TV) +Star Trek II: The Wrath of Khan 1982 Nicholas Meyer +Star Trek III: The Search for Spock 1984 Leonard Nimoy +Star Trek: Insurrection 1998 Jonathan Frakes +Star Trek IV: The Voyage Home 1986 Leonard Nimoy +Stonewall 25: Global Voices of Pride & Protest 1994 In the Life +Strangers on a Train 1951 Alfred Hitchcock +Stripes 1981 Ivan Reitman +Stuck On You 2003 Bobby & Peter Farrelly +Sugarbaby (Zuckerbaby) 1985 Percy Adlon +Sum of Us, The 1994 Geoff Burton & Kevin Dowling +Suspicion 1941 Alfred Hitchcock + +Tao of Steve, The 2000 Jenniphr Goodman +Taxi Driver 1976 Martin Scorsese +Television’s Greatest Commedians (1993) +Terminator, The 1984 James Cameron +Terms of Endearment 1983 James L. Brooks +Thank You & Goodnight 1991 Jan Oxenberg +That Touch of Mink 1962 Delbert Mann +That's Life 1986 Blake Edwards +Third Miracle, The 1999 Agnieszka Holland +Thirtytwo Short Films about Glenn Gould 1993 François Girard +This Far By Faith: African-American Spiritual Journeys 2003 Leslie D. Farrel +This Is Spinal Tap 1984 Rob Reiner +Thousand Clowns, A 1965 Fred Coe +Thunderheart 1992 Michael Apted +To Catch a Thief 1954 Alfred Hitchcock +To Gillian on Her 37th Birthday 1996 Michael Pressman +To Kill a Mockingbird 1962 Robert Mulligan +To Live (Huozhe) 1994 Yimou Zhang +Together Alone 1991 P.J. Catellaneta +Tootsie 1982 Sydney Pollack +Topsy-Turvy 1999 Mike Leigh +Torch Song Trilogy 1988 Paul Bogart +Total Recall 1990 Paul Verhoeven +Touch of Evil 1958 Orson Welles +Traffic 2000 Steven Soderbergh +Treading Water 2002 Lauren Himmel +Trip To Bountiful, The 1985 Peter Masterson +Trouble with Harry, The 1955 Alfred Hitchcock +True Romance 1993 Tony Scott +Truman Show, The 1998 Peter Weir +Tuck Everlasting 2002 Jay Russell +Tuesdays with Morrie 1999 Mick Jackson +Two in Twenty: A Lesbian Soap Opera 1988 (Episodes 5 & Outtakes) +Twilight: Los Angeles 2000 Marc Levin +Twins 1988 Ivan Reitman + +Umbrellas of Cherbourg (aka Les Parapluies de Cherbourg) 1990 Jacques Demy +Unbearable Lightness of Being, The 1988 Philip Kaufman +Understanding Movies (tape to go with the bk by that title by Giannetti) +Unforgiven 1992 Clint Eastwood +Unzipped 1995 Douglas Keeve +U.S. Marshals 1998 Stuart Baird + +Vanishing, The (the original - aka Spoorloos) 1988 George Sluizer + +Velocity of Gary, The 1998 Dan Ireland +Virgin Suicides, The 1999 Sofia Coppola + +Waiting To Exhale 1995 Forest Whitaker +Walkabout 1971 Nicolas Roeg +War, The 1994 Jon Avnet +Waterworld 1995 Kevin Reynolds +Wedding Banquet, The 1993 Ang Lee +Welcome to the Dollhouse 1995 Todd Solondz +West Side Story 1961 Jerome Robins & Robert Wise +When Night Is Falling 1995 Patricia Rozema +Where the Money Is 2000 Marek Kanievska +White Fang 1991 Randal Kleiser +Who the Hell Is Juliette? (Quien Diablos Es Juliette?) 1997 Carlos Marcovic +Whole Nine Yards, The 2000 Jonathan Lynn +Wild At Heart 1990 David Lynch +Wild Things 1998 John McNaughton +Windwalker 1980 Kieth Merrill +Winged Serpent, The 1982 Larry Cohen +With Friends Like These 1998 Philip F. Messina +Witness for the Prosecution 1957 Billy Wilder +Wizard of Oz, The 1939 Victor Fleming +Women, The 1939 George Cukor +Working Girl 1988 Mike Nichols + +Year of Living Dangerously, The 1982 Peter Weir +Yentl 1983 Barbra Streisand +Your Show of Shows (Sid Caesar TV show) + +Z 1969 Costa-Garvas +Zero Effect 1998 Jake Kasden diff --git a/fix-movie-list/movies.md b/fix-movie-list/movies.md new file mode 100644 index 0000000..1489b23 --- /dev/null +++ b/fix-movie-list/movies.md @@ -0,0 +1,454 @@ +2 Seconds (1998) +2001: A Space Odyssey (1968) +25th Hour, The (2002) +9-1/2 Weeks (1986) +About a Boy (2002) +Accused (The) (1988) +Adventures of Priscilla, Queen of the Desert, The (1994) +Affliction (1998) +Alien (1979) +Alien Dreamtime (2003) +Alien Nation (1988) +Alien Resurrection (1997) +Alien3 (1992) +Aliens (1986) +Alive & Kicking (1996) +All About My Mother (1999) +All God’s Children (1996) +All That Jazz (1979) +American Dream (2000) +American History X (1998) +Amistad (1998) +Andrei Rublev (1969) +Angel At My Table, An (1990) +Angels in America (2003) +Angels & Insects (1995) +Anima Mundi (1992) +Apostle, The (1997) +Assassination Tango (2002) +Auntie Mame (1958) +Babe (1995) +Bagdad Café (1987) +Bar Girls (1994) +Barefoot In the Park (1967) +Barton Fink (1991) +Basquiat (1996) +Beaches (1988) +Beautiful Girls (1996) +Beautiful Thing (1996) +Before Night Falls (2000) +Bend It Like Beckham (2003) +Betrayed (1988) +Better Than Chocolate (1999) +Big Chill, The (1985) +Big Easy, The (1987) +Big Night (1997) +Billy Crystal: Midnight Train to Moscow (1989) +Birthday Girl (2001) +Blaze (1986) +Bloom (2004) +Bob Roberts (1992) +Body Heat (1981) +Book of Shadows: Blair Witch 2 (2000) +Bound (1996) +Bowfinger (1999) +Broken Hearts Club, The (2000) +Bull Durham (1988) +Burnt By the Sun (1994) +Butcher’s Wife (The) (1991) +Cabaret (1972) +Casablanca (1942) +Cecil B. DeMented (2000) +Cell, The (2000) +Celluloid Closet (1996) +Changer: A Record of the Times, The (1991) +Chariots of Fire (1981) +Chicago (2002) +Children of a Lesser God (1986) +Children's Hour, The (1961) +Chinatown (1974) +Chocolate Babies (1997) +Chuck & Buck (2000) +Chutney Popcorn (1999) +Cinema Paradiso (1988) +Citizen Kane (1941) +Civil Action, A (1998) +Clerks (1994) +Close Encounters of the Third Kind (1977) +Coal Miner's Daughter (1980) +Color Purple, The (1985) +Commen Threads: Stories from the AIDS Quilt (1989) +Compleat Beatles (1982) +Contender, The (2000) +Cook, the Thief, His Wife & Her Lover, The (1989) +Cookie's Fortune (1999) +Cradle Will Rock (1999) +Crash (1996) +crazy/beautiful (2001) +Crimes & Misdemeanors (1989) +Crooklyn (1994) +Cry-Baby (1990) +Cry Freedom (1987) +Dancer in the Dark (2000) +Dangerous Liaisons (1988) +Dark Wind (1991) +David & Lisa (1962) +Dawn of the Dead (1978) +Dead Poet’s Society (1989) +Death Becomes Her (1992) +Debut, The (2000) +Deer Hunter, The (1978) +Desert Hearts (1985) +Devil's Backbone, The (El Espinazo del diablo) (2001) +Dick Tracy (1990) +Dirty Dancing (1987) +Disappearance of Garcia Lorca, The (1997) +Do The Right Thing (1989) +Down In the Delta (1998) +Dr. Strangeglove (1964) +Dream Lover (1994) +Easy Rider (1969) +Eat Drink Man Woman (1994) +Ed Wood (1994) +Educating Rita (1989) +Emerald Forest (The) (1985) +Empire of the Sun (1987) +Everything Relative (1996) +Exotica (1995) +Eyes of Tammy Faye, The (1999) +Faithful (1996) +Falcon & The Snowman (The) (1984) +Fancy Dancing (2003) +Farewell My Concubine (1993) +Favor, the Watch, & the Very Big Fish, The (1991) +Felicia's Journey (1999) +Fiddler on the Roof (1971) +Field of Dreams (1989) +Fifth Element (1997) +Fish Called Wanda, A (1988) +Fisher King, The (1991) +Flirting (1990) +Flirting with Disaster (1996) +For the Boys (1991) +Four Weddings & a Funeral (1994) +Front (The) (1976) +French Lieutenant's Woman, The (1981) +Gas Food Lodging (1992) +Get Bruce (1999) +Get Carter (1970) +Ghost (1990) +Girl 6 (1996) +Girlfight (2000) +Girls Who Like Girls (2001) +Go Fish (1994) +Godfather I (1972) +Godfather II (1974) +Godfather III, The (1990) +Gods & Monsters (1998) +Good Girl, The (2002) +Good Morning Vietnem! (1987) +Goodfellas (1990) +Gorillas in the Mist (1988) +Gosford Park (2001) +Grass Harp (The) (1997) +Great Santini (The) (1979) +Great Spirit/Sacred Ground (1994) +Groundhog Day (1993) +Guess Who's Coming to Dinner (1967) +Guilty as Sin (1993) +Hair (1979) +Half Moon Street (1986) +Harold & Maude (1971) +He Got Game (1998) +Heaven (2002) +Henry V (1989) +Hi, Mom! (1970) +Hi-Lo Country, The (1998) +Hidden in Plain Sight (2003) +High Art (1998) +High Fidelity (2000) +History of Rock & Roll (The) (1995) +Honeymoon in Vegas (1992) +How the West Was Lost (1993) +Hunt for Red October (The) (1989) +Hurleyburley (1998) +Hush (1998) +I Love Trouble (1994) +I Shot Andy Warhol (1996) +Ideal Husband, An (1999) +Imagine: John Lennon (1988) +In & Out (1997) +Incredibly True Adventure of Two Girls in Love, The (1995) +Indochine (1993) +Insider, The (1999) +Intermezzo: A Love Story (1939) +It's My Party (1996) +Jagged Edge (1985) +Jeffrey (1995) +Jerry Maguire (1997) +Jesus Christ Superstar (1973) +Jewish Amwericans (The) (2008) +John Adams (2008) +Joni Mitchell: Woman of Heart & Mind (2003) +Ju Dou (1989) +Jungle Fever (1991) +Jurassic Park (1993) +King of Hearts (1966) +Kiss Me Deadly (1955) +Kiss of the Spider Woman (1985) +Koyaanisqatsi (1983) +Last Days, The (1998) +Last Days of Disco, The (1998) +Last Emperor, The (1987) +Last Night (1998) +Last of the Dogmen (1995) +Last Seduction, The (1994) +Last Wave, The (1977) +Lavendar Limelight (1998) +Lemon Sisters, The (1990) +Life As A House (2001) +Life is Beautiful (1997) +Like Water for Chocolate (1992) +Limbo (1999) +Limey, The (1999) +Lord of the Flies (1990) +Lorenzo’s Oil (1992) +Love Actually (2003) +Love & Basketball (2000) +Love Letter, The (1999) +Lovely & Amazing (2001) +Lover (The) (1992) +Lover Come Back (1961) +Mad City (1997) +Mad Max (1979) +Magnolia (2000) +Maltese Falcon, The (1941) +Man Facing Southeast (1986) +Man Who Knew Too Much, The (1956) +Manny & Lo (1996) +Marat Sade (1966) +Marathon Man (1976) +Marching For Freedom (1993) +Mask, The (1994) +Master & Commander: The Far Side of the World (2003) +Matinee (1993) +Medicine Man (1992) +Messenger, The (1999) +Metropolitan (1990) +Miami Rhapsody (1995) +Microcosmos (1996) +Midaq Alley (1995) +Midnight Express (1978) +Midnight Run (1988) +Mighty Aphrodite (1995) +Mighty Quinn, The (1989) +Miracle on 34th Street (1947) +Misery (1990) +Mission, The (1986) +Mississippi Burning (1988) +Mississippi Masala (1991) +Mo' Better Blues (1990) +Moonlight Mile (2002) +Mortal Thoughts (1991) +Music Box (1989) +Mosquito Coast, The (1986) +Mountains of the Moon (1990) +Mr. Holland's Opus (1995) +Mumford (1999) +Murder at (1600) +Murphy's Romance (1985) +My Dog Skip (2000) +Mystic Pizza (1988) +Naked In New York (1993) +Naked Lunch (1991) +Natural, The (1984) +Neverending Story, The (1984) +New Jack City (1991) +Night Falls on Manhattan (1997) +Night of the Living Dead (1968) +Nightmare Before Christmas (The) (1993) +Ninth Configuration (1980) +Name of the Rose (The) (1986) +No Way Out (1987) +Normal (2003) +North by Northwest (1959) +Notorious C.H.O. (2002) +Ocean's Eleven (2001) +October 22 (1991) +Officer & A Gentleman, An (1982) +On the Edge (1985) +One Hour Photo (2002) +Open Your Eyes (Apre Los Ojos) (1997) +Oscar (1991) +Oscar's Greatest Moments (1971) +Othello (1952) +Others, The (2001) +Pahasapa: The Struggle for the Black Hills (1994) +Pallbearer, The (1996) +Paradise Road (1997) +Parting Glances (1986) +Party Girl (1995) +Pastime (1992) +Patch Adams (1999) +Path to Paradise: The Untold Story of the World Trade Center Bombing (1997) +Pecker (1998) +Perfect Storm, The (2000) +Perfect World, A (1993) +Personal Best (1982) +Planes, Trains & Automobiles (1987) +Platoon (1988) +Player, The (1992) +Pleasantville (1998) +Pledge, The (2001) +Plenty (1985) +Poles Apart (2000) +Posse (1993) +Possession (2002) +Powwow Highway (1998) +Pretty Woman (1990) +Priest (1994) +Primary Colors (1992) +Psycho (1960) +Purple Rose of Cairo, The (1985) +Putney Swope (1969) +Q&A (1990) +Quatermass (1979) +Querelle (1982) +Quick Change (1990) +Quiet Earth, The (1985) +Ragtime (1981) +Rambling Rose (1991) +Rear Window (1954) +Rebecca (1940) +Red Violin, The (1999) +Reds (1981) +Reservoir Dogs (1992) +Return of a Man Called Horse, The (1976) +Richard III (1995) +Ride With the Devil (1999) +Rites of Passage (1999) +River Runs Through It, A (1992) +Rocky (1976) +Roger & Me (1989) +Romeo & Juliet (1968) +Room with a View, A (1985) +Roots Parts 1,2,3 and 1/2 of 4 of the TV miniseries (1977) +Rope (1948) +Rosewood (1997) +Rounders (1998) +Roxanne (1987) +Run, Lola, Run (1999) +Satyricon (1969) +Savior (1997) +Schindler's List (1993) +School Daze (1988) +Scrooged (1989) +Secondhand Lions (2003) +Secrets & Lies (1996) +Seize the Day (1986) +Set It Off (1996) +Shadowlands (1993) +Shakespeare In Love (1996) +She Devil (1989) +She's Gotta Have It (1986) +She's So Lovely (2000) +Shining, The (1980) +Shrek (2001) +Silence of the Lambs (1991) +Simon Birch (1998) +Simple Plan, A (1999) +Singing in the Rain (1951) +Sirens (1994) +Sixth Sense, The (1999) +Sleeper (1973) +Sleepers (2001) +Small Time Crooks (2000) +Smoke Signals (1998) +Sneakers (1992) +Snow Falling on Cedars (1999) +Solaris (remake) (2002) +Soldier's Story, A (1984) +Something's Gotta Give (2003) +Sophie's Choice (1982) +Spanish Prisoner, The (1997) +Spawn (1997) +Splash (1983) +Star Trek II: The Wrath of Khan (1982) +Star Trek III: The Search for Spock (1984) +Star Trek: Insurrection (1998) +Star Trek IV: The Voyage Home (1986) +Stonewall 25: Global Voices of Pride & Protest (1994) +Strangers on a Train (1951) +Stripes (1981) +Stuck On You (2003) +Sugarbaby (Zuckerbaby) (1985) +Sum of Us, The (1994) +Suspicion (1941) +Tao of Steve, The (2000) +Taxi Driver (1976) +Television’s Greatest Commedians (1993) +Terminator, The (1984) +Terms of Endearment (1983) +Thank You & Goodnight (1991) +That Touch of Mink (1962) +That's Life (1986) +Third Miracle, The (1999) +Thirtytwo Short Films about Glenn Gould (1993) +This Far By Faith: African-American Spiritual Journeys (2003) +This Is Spinal Tap (1984) +Thousand Clowns, A (1965) +Thunderheart (1992) +To Catch a Thief (1954) +To Gillian on Her 37th Birthday (1996) +To Kill a Mockingbird (1962) +To Live (Huozhe) (1994) +Together Alone (1991) +Tootsie (1982) +Topsy-Turvy (1999) +Torch Song Trilogy (1988) +Total Recall (1990) +Touch of Evil (1958) +Traffic (2000) +Treading Water (2002) +Trip To Bountiful, The (1985) +Trouble with Harry, The (1955) +True Romance (1993) +Truman Show, The (1998) +Tuck Everlasting (2002) +Tuesdays with Morrie (1999) +Two in Twenty: A Lesbian Soap Opera (1988) +Twilight: Los Angeles (2000) +Twins (1988) +Umbrellas of Cherbourg (aka Les Parapluies de Cherbourg) (1990) +Unbearable Lightness of Being, The (1988) +Unforgiven (1992) +Unzipped (1995) +U.S. Marshals (1998) +Vanishing, The (the original - aka Spoorloos) (1988) +Velocity of Gary, The (1998) +Virgin Suicides, The (1999) +Waiting To Exhale (1995) +Walkabout (1971) +War, The (1994) +Waterworld (1995) +Wedding Banquet, The (1993) +Welcome to the Dollhouse (1995) +West Side Story (1961) +When Night Is Falling (1995) +Where the Money Is (2000) +White Fang (1991) +Who the Hell Is Juliette? (Quien Diablos Es Juliette?) (1997) +Whole Nine Yards, The (2000) +Wild At Heart (1990) +Wild Things (1998) +Windwalker (1980) +Winged Serpent, The (1982) +With Friends Like These (1998) +Witness for the Prosecution (1957) +Wizard of Oz, The (1939) +Women, The (1939) +Working Girl (1988) +Year of Living Dangerously, The (1982) +Yentl (1983) +Z (1969) +Zero Effect (1998) diff --git a/fix-movie-list/txt-to-md.go b/fix-movie-list/txt-to-md.go new file mode 100644 index 0000000..02c5c8d --- /dev/null +++ b/fix-movie-list/txt-to-md.go @@ -0,0 +1,58 @@ +package main + +import ( + "bufio" + "fmt" + "os" + "regexp" + "strings" +) + +func main() { + // Open input file + file, err := os.Open("movie-list.txt") + if err != nil { + panic(err) + } + defer file.Close() + + // Create output file + output, err := os.Create("movies.md") + if err != nil { + panic(err) + } + defer output.Close() + + // Regex to match movie title, year, and director + r := regexp.MustCompile(`(.*?)(?:\s|\()(\d{4})(?:\)|\s|$).*`) + + scanner := bufio.NewScanner(file) + for scanner.Scan() { + line := scanner.Text() + + // Parse line using regex + matches := r.FindStringSubmatch(line) + if len(matches) != 3 { + // Skip lines that don't match our expected format + continue + } + + // Remove leading/trailing whitespace and adjust year format + movieTitle := strings.TrimSpace(matches[1]) + year := matches[2] + + // Output fixed movie title and year to terminal + fmt.Printf("Fixed: %s (%s)\n", movieTitle, year) + + // Format movie title and year, write to output file + _, err = fmt.Fprintf(output, "%s (%s)\n", movieTitle, year) + if err != nil { + panic(err) + } + } + + // Check for errors from scanner + if err := scanner.Err(); err != nil { + panic(err) + } +}