> If you're looking to parse the data from a program, I strongly recommend
> that instead of using a plain old query, you use:
>
> QUERY ***GUI*** listname [FOR e-mail-address]

Nice feature.  It doesn't seem to be documented, though.