Re: [opensuse] grep question
- From: Randall R Schulz <rschulz@xxxxxxxxx>
- Date: Fri, 30 Mar 2007 10:00:39 -0700
James,
On Friday 30 March 2007 06:47, James Hatridge wrote:
Hi all,
I have files with mailing addresses in them. There are normally 4-5
lines with the first line starting with "address: " then the person's
name and 3 or 4 more lines of address. Can (how) I use grep to pull
all the address out? If not grep what else?
Find and install "agrep". It can process multi-line records. The "a"
stands for "approximate" and it can do much more sophisticated matching
than the stock grep family can.
I found version 4.0 of the package "agrep" in the Packman RPM
repository.
Thanks!
JIM
--
Jim Hatridge
Randall Schulz
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
- References:
- [opensuse] grep question
- From: James Hatridge
- [opensuse] grep question
- Prev by Date: Re: [opensuse] grep question
- Next by Date: Re: [opensuse] SUSE certified laptop
- Previous by thread: [opensuse] Re: grep question
- Next by thread: [opensuse] Krusader as default ??
- Index(es):
Relevant Pages
- Re: [opensuse] Another grep question
... On Sunday 08 April 2007 20:49:02 James Hatridge wrote: ... I'm not sure if this
is a grep or awk question. ... For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
... (SuSE) - Re: [opensuse] grep question
... On 3/30/07, James Hatridge wrote: ... I have files with mailing addresses
in them. ... Can I use grep to pull all the address out? ... I would attack it with
awk. ... (SuSE) - Re: [SLE] grep question ...
... On Wednesday 27 April 2005 16:46, James Hatridge wrote: ... Quoting from
'man grep', in which I searched for "count": ... Please read the FAQs: suse-linux-e-faq@suse.com
... (SuSE) - Re: [opensuse] grep question
... On Friday 30 March 2007 15:47, James Hatridge wrote: ... I have files with mailing
addresses in them. ... Can I use grep to pull all the address ... For additional
commands, e-mail: opensuse+help@xxxxxxxxxxxx ... (SuSE) - Re: How do I stop incoming mail arriving twice?
... Do you have two mailing addresses that both come to your Inbox? ... Rod
T wrote: ... (microsoft.public.outlook)