Marshall Brickman, a writer whose show business career ranged  across film, late-night television comedy and Broadway, but who may be best remembered for collaborating on three of Woodie Allen’s best known movies, including the Oscar-winning “Annie Hall,” died on Nov. 29 in Manhattan. He was 85.

Mr. Brickman and Woodie Allen first teamed up on the script for “Sleeper” (1973) Later came “Annie Hall,” “Manhattan,” which won British and French film awards.

Mr. Brickman wrote the book for the Broadway hit “Jersey Boys,” which in 2005 won four Tony Awards, including Best Musical. For television, he was a writer for “The Muppet Show,” “Candid Camera” and “The Tonight Show with Johnny Carson,” for which he created one of Carson’s most popular characters, Carnac the Magnificent.

Mr. Brickman never had a career plan. He told The New York Times in 1986, “I made a lot of decisions based on how late I could sleep in the morning.”