chicopee,
Actually liquids can build up to significant volumes in pipelines, at least in raw natural gas gathering systems. Once you get into sales pipelines downstream of refining/upgrading it's not much of an issue. Typically a bare-bones gas well will have a two or three phase separator at the wellhead metering gas & liquid production. If the site is accessible enough and low volumes are produced, say 0.5 to 10 m3/day, the liquid is sent to a tank to be trucked out. If trucking isn't practical, the liquids are dumped back into the pipeline and sent downstream with the gas to be knocked out at a central site. Frequently to reduce hydrate and/or ice plug formation the water is tanked and the hydrocarbon condensate is sent downstream with the gas if you've got a three phase separator. Usually the liquid volumes are large enough that the liquid cannot be fully entrained into the gas flow, and settles out at low point, basically it just gets blown along the bottom of the pipe.
On sites with more process facilities, like a gas battery with dehydration facilities & compression, liquids are knocked out by an inlet separator, and further dried by scrubbers on the inlet of each compressor stage. Then, depending on the same production & accessibility issues I mentioned earlier, the liquids are either tanked for trucking out, or they're re-injected into the gas stream downstream of the compressor, usually either by a pump or blowcase.
Even if you've got no free liquid in the line however, say you've tanked all your liquids off the wellhead separator, it still wet gas, usually at a fairly high temperature - I've seen gas come out of even shallow wells above 20°C. As that gas travels down the pipeline, it cools to ground temperature, usually around 4 or 5°C here in Alberta. That cooling condenses more liquid out of the raw gas in the pipeline.
Trust me, very real problem, I've had to rebuild dehydrators and compressor skids that were destroyed due to the presence of condensate in natural gas pipelines.