[tpop3d-discuss] virtual domains

Chris Lightfoot chris at ex-parrot.com
Mon, 7 Apr 2003 17:40:02 +0100


On Mon, Apr 07, 2003 at 11:06:51AM -0500, cking wrote:
> heh.. cause we have over 200 domains. lots of typing.

one-line awk script?

awk '/pop3\./ { printf("%s(%s) ", $1, substr($2, 6)) }' < /etc/hosts

-- 
``Saying that road tax should be spent on transport is like
  saying that alcohol duty should be spent on pubs.'' (seen on the internet)