Barney Miller. He used to be a cop and found the show true to life.

I was happy to hear he liked it. Barney Miller has always been one of my favorites. That and Married … With Children are two superior tv shows that earned followings but never got much media fuss.
From Inside Trek: My Secret Life with Star Trek Creator Gene Roddenberry by Susan Sackett