Re: [opensuse] grep question
- From: Anders Johansson <andjoh@xxxxxxxxxx>
- Date: Fri, 30 Mar 2007 18:53:34 +0200
On Friday 30 March 2007 15: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?
grep -A 4 name file
perhaps?
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
- Follow-Ups:
- [opensuse] Re: grep question
- From: James Hatridge
- [opensuse] Re: grep question
- References:
- [opensuse] grep question
- From: James Hatridge
- [opensuse] grep question
- Prev by Date: Re: [opensuse] grep question
- Next by Date: Re: [opensuse] grep question
- Previous by thread: Re: [opensuse] grep question
- Next by thread: [opensuse] Re: grep question
- 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: [opensuse] grep question
... On Friday 30 March 2007 06:47, James Hatridge wrote: ... I have files with mailing
addresses in them. ... Can I use grep to pull ... Randall Schulz ...
(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) - Re: asrock, problem with nic after windows-boot - Exact Opposite issue the OP is having
... On 21 Jun 2006, in the Usenet newsgroup comp.os.linux.networking, in article ...
If you are having trouble during boot, move the original scripts TEMPORARILY ... I'd grep
for 'ZEROCONF' in ... individual commands, it's really not doing rocket science. ...
(comp.os.linux.networking)