in reply to Perl Fool needs help

If I am reading your question correctly, this is most likely closer to what you are looking for.

perl -ne 'print if not m/address/; print $1 if m/^(address=)/;'


That'll give you everything except for the email address which is found after the equal sign on the address line.


   [ qi3ber ] I used to think that I knew it all, then I started to listen.