If you just get a cup of coffee, the price is usually about the same, modulo free refills. The quality from the coffee shop is also usually better.
Diners (at least those where I live) have started offering more options (including cappuccino style concoctions) in response to the coffee house trend, and now tend to match the prices of those coffee houses.