Title: The Square (2008 film)
Content:  Joel Edgerton wrote the script in eight years. He said that "I first wrote "The Square" as an idea in my early 20s just, I had notebooks filled with thoughts and ideas about movies I wanted to write, but I never was a writer until I sat down to write a screenplay for Nash. It was this sort of jumbled mess of a thing I was trying to write for him, a crime caper story. As I started writing that, I sort of stopped at one point and started writing "The Square" as a different project with no director attached to it. Then at some point, when "The Square" started developing its first draft and then at subsequent drafts, I eventually did the old Indiana Jones switcharoo and was like, "Why don't we just take this script away and put this one in its place because I think this is a more mature project for us to make." Thankfully, he felt the same and so we basically put our focus into a new thing and that became The Square."
Title: Doran William Cannon
Content:  Several years later he wrote, produced, and directed his first feature, The Square Root of Zero (1964). In 1965 he left New York City for Hollywood, where he wrote the original scripts for Otto Preminger's Skidoo (1968) and Robert Altman's Brewster McCloud (1970). The original story for the latter was set in New York City but it was decided to set the film in Houston. Although Cannon is credited for the screenplay, most of the film was rewritten by Altman and close associates or improvised during filming. After the film's release, Cannon wrote a column for The New York Times detailing the frustrations of his experience. His career later shifted towards television, where Cannon wrote the screen adaptation of Brave New World. Originally 4 hours long, it was cut down to three hours before being televised. Brave New World was directed by Burt Brinckerhoff for Universal Television and first shown on NBC on 7 March 1980. Cannon wrote Authorship: The Dynamic Principles of Writing Creatively, and taught creative writing.
Title: Never Say Never Again
Content:  Mankiewicz, who had rewritten Diamonds Are Forever, to work on the script; however, Mankiewicz declined as he felt he was under a moral obligation to Eon's Albert R. Broccoli. Semple Jr. ultimately left the project after Irvin Kershner was hired as director and Schwartzman began cutting out the "big numbers" from his script to save on the budget. Connery then hired British television writers Dick Clement and Ian La Frenais to undertake re-writes, although they went uncredited for their efforts despite much of the final shooting script being theirs. This was because of a restriction by the Writers Guild of America. Clement and La Frenais continued rewriting during the 
Title: Navy SEALs (film)
Content:  In the winter of 1986 Brenda Feigen, then an agent at the William Morris Agency, was introduced to Chuck Pfarrer through one of her clients. Pfarrer, an active duty navy SEAL who wrote screenplays in his spare time, had just sold "The Crook Factory," a script about Ernest Hemingway's life. Feigen encouraged him to write a script based on his experiences. After retiring from the SEALs, Pfarrer wrote the script, which Feigen shopped to Orion Pictures, Warner Brothers, and United Artists, hoping to create a bidding war. Orion ultimately purchased the script, with Feigen acting as producer. Feigen wanted Ridley Scott to direct, but negotiations fell through. Richard Marquand was then hired, 
Title: It's Pat
Content: I resisted it completely. I just didn't know how we could make it last for two hours. But 20th Century Fox was really keen; our producer was really keen. So we thought, OK, we'll write the script. And after three months, we fell madly in love with the script. Unfortunately, Fox did not. The film was written by Sweeney, Jim Emerson (Sweeney's friend from their days with The Groundlings ), and Sweeney's former husband, Stephen Hibbert. While at the Groundlings, Emerson suggested that the character Pat, at the time a "character based on annoying co-workers who don't leave you alone", be made androgynous. Three months before the film's release, Sweeney commented on her initial reluctance to do a film based on Pat:  Touchstone Pictures decided to produce the film, after Fox bowed out. Quentin Tarantino revealed that he was an uncredited writer on the script.
Title: Star Trek: The Motion Picture
Content:  hired now while he is cheap and humble." The result was a list of 34 names, none of whom were chosen to pen the script. Finally, British screenwriters Chris Bryant and Allan Scott, who had penned the Donald Sutherland thriller Don't Look Now, were hired to write a script. Bryant believed he earned the screenwriting assignment because his view of Kirk resembled what Roddenberry modeled him on; "one of Horatio Nelson's captains in the South Pacific, six months away from home and three months away by communication". Povill also wrote up a list of possible directors, including Coppola, Steven Spielberg, Lucas, and Robert Wise, but 
Title: Straight Time
Content:  The screenplay was written by Alvin Sargent, Edward Bunker, and Jeffrey Boam, based on Bunker's novel No Beast So Fierce. Michael Mann served as an uncredited co-writer on the project.
Title: Barbara Turner (screenwriter)
Content:  Winningham. In 1983, Turner co-wrote an adaption of the Stephen King novel Cujo under the name Lauren Currier. Turner wrote an unproduced screenplay about two friends of Dorothy Parker named Gerald and Sara Murphy. This work led to her daughter, Leigh, being cast in the 1994 film Mrs. Parker and the Vicious Circle. In 1995, she teamed up with daughter Jennifer Jason Leigh to write and produce the screenplay for Georgia, a film depicting the troubled relationship between two singing sisters played by Leigh and Mare Winningham, who both won praise for their performances. The idea reportedly came from Leigh, who 
Title: I Witness
Content:  Originally entitled "God's Witness," the script by Colin Greene and rock star Robert Ozn found its way on to many Hollywood executives' "best un-produced screenplays" lists. While it was set up multiple times with a variety of film stars, directors and producers, the film fell apart repeatedly over a period of eight years. Finally, executive producer Paul de Souza was able to get the screenplay in front of David Bixler, then Senior VP of Promark Films. Bixler and Promark's founder, Jonathan Kramer, procured tax credit financing in Puerto Rico and brought producer/casting director Julia Verdin on board along with director Rowdy Herrington. The project got its green light when both Jeff Daniels and James Spader read the material and signed on. Greene and Ozn won the 2003 Method Fest Best Screenplay Award.
Title: Penny Marshall
Content:  made up of original and adapted screenplays. For instance, Big was written by Gary Ross; best known as film writer and producer of Pleasantville. Additionally, Anne Spielberg who wrote "Toy Story" is one of the accomplished film writers and producers. Moreover, "Awakenings" was adapted from Oliver Sack’s book and written by Steven Zaillian for the screen. Steven is the writer of Schindler's List and A Civil Action, just to name a few. Furthermore, she relies on character techniques to portray the meaning of themes in the films. For instance, she uses prominent characters like Malcolm Sayer and Josh Baskin whose characters reflect their persona 

Question: Who was the screenwriter for The Square?
Answer: Joel Edgerton.