GNU bug report logs - #26254
grep's -m breaks -A

Previous Next

Package: grep;

Reported by: Jim Meyering <jim <at> meyering.net>

Date: Sat, 25 Mar 2017 16:25:01 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Nicholas Sushkin <nsushkin <at> openfinance.com>
To: stuartm.coding <at> gmail.com, 26254 <at> debbugs.gnu.org
Subject: bug#26254: grep's -m breaks -A
Date: Thu, 15 Jun 2017 10:09:52 -0400
[Message part 1 (text/plain, inline)]
I agree with Stu,

I wanted to see the first match of an Error in its context, so I used grep
-E Error -m 1 -C 10.
Grep didn't show the context after the match because there was another
match for Error right after the first.
I'd like to have an option to see the full context whether it has matches
or not.

ps. This is actually bug #28588 http://savannah.gnu.org/bugs/?28588
-- 

*Nicholas Sushkin*
[Message part 2 (text/html, inline)]

This bug report was last modified 8 years and 54 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.