It is a shame, then, that both atheism (which people ascribed Carlin to) and agnosticism (which his daughter ascribed him to) give up when it comes to the question of death. Most of the answers that (another atheist comic) Ricky Gervais gives are to live a good life, be a good person, and enjoy it while it lasts.
Ironically, the Apostle Paul understood such sentiments. He even said himself, 'If the dead are not raised, "let us eat and drink, for tomorrow we die."'
He only understood such sentiments apart from the resurrection of Jesus. See, Jesus died... and Paul hated Him... and then he met Him. This is what led Paul away from that type of hopeless thinking. No matter how it was philosophised, atheistic or otherwise, Paul could not deal with hopelessness.
He met Hope.
I agree with Carlin. In a very humanistic sense the whole meaning of life is not dying. Totally agree. But if there is no resurrection there is no meaning to life. None. And so for Carlin to even quip about meaning or for Gervais to even advise on the good life is nonsensical.