The Last Detail (1973)
The Last Detail is a 1973 American comedy-drama film directed by Hal Ashby and starring Jack Nicholson, with a screenplay adapted by Robert Towne from a novel of the same name by Darryl Ponicsan. The film became known for its frequent use of profanity. It was nominated for three Academy Awards.
More at Wikipedia.