Andreas Schwab wrote:
Richard Neill <[EMAIL PROTECTED]> 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