bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug #22100] Enhancement request: "grep foo | grep bar" in one proce


From: Matthew Woehlke
Subject: Re: [bug #22100] Enhancement request: "grep foo | grep bar" in one process (i.e. line-selector and pattern selector)
Date: Thu, 24 Jan 2008 15:19:09 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.0

Andreas Schwab wrote:
Richard Neill writes:

Thanks for your email. Sadly, my contrived example is oversimplified, such
that the sub-section is in the nth field, where n is known in advance -
but that isn't necessarily true.

Not a problem, awk can handle that quite well.

An example of 'blah | grep -e foo -e bar | grep -E "[0-9]"' (which was approximately the original point) in awk would be nice...

--
Matthew
> A: Yes.
>> Q: Are you sure?
>>> A: Because it reverses the logical flow of conversation.
>>>> Q: Why is top posting annoying in email?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]