 Director John Milius (qv) made a major contribution to the film  (as well as Dirty Harrys mystique). He wrote the lines Harry quotes  to punks about "Did he fire six shots or five?" and the immortal "Do  you feel lucky, punk?"