[Top][All Lists]

[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: Gecko/20071031 Thunderbird/ Mnenhy/

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...

> 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]