|
From: | Richard Neill |
Subject: | Re: [bug #22100] Enhancement request: "grep foo | grep bar" in one process (i.e. line-selector and pattern selector) |
Date: | Fri, 25 Jan 2008 06:56:50 +0000 |
User-agent: | Thunderbird 2.0.0.4 (X11/20070712) |
Andreas Schwab wrote:
Richard Neill <address@hidden> 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.
That sounds like a good reason for me to learn awk properly. :-)But seriously, I still think this would be worth adding to grep if possible. My thoughts:
- awk is relatively arcane, whereas lots of people know grep. - grep does almost everything needed, so why have yet another tool - awk isn't always available. Also, it is related to bug 15280 https://savannah.gnu.org/bugs/?15280 Best wishes, Richard
[Prev in Thread] | Current Thread | [Next in Thread] |