Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Mar 2002 14:54:59 -0500 
From:      "Pieckiel, Kevin A" <Kevin.Pieckiel@VirginiaDOT.org>
To:        "'freebsd-questions@freebsd.org'" <freebsd-questions@freebsd.org>
Subject:   Quick text processing question
Message-ID:  <5A617D4D38B5D51192AA0060081849455DD82D@501sumail1.vdot.state.va.us>

next in thread | raw e-mail | index | archive | help
I don't know sed, awk, or Perl.  But I know one (or more) of these--
and probably several other tools--can do what I need.

Please help me contruct a command line that will take a single
line of text and extract an E-Mail address from it.  For example:

freebsd-questions@freebsd.org
"Kevin A. Pieckiel" <kevin.pieckiel@virginiadot.org>
From: An Internet User <user@inter.net>

When each line is run thru the command line for which I ask,
I should get:

freebsd-questions@freebsd.org
kevin.pieckiel@virigniadot.org
user@inter.net

Your help is appreciated.

TIA!
Kevin

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5A617D4D38B5D51192AA0060081849455DD82D>