GNU bug report logs - #17380
grep -C 0 could also give separators

Previous Next

Package: grep;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Thu, 1 May 2014 05:38:02 UTC

Severity: wishlist

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

Bug is archived. No further changes may be made.

Full log


Message #22 received at 17380 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Norihiro Tanaka <noritnk <at> kcn.ne.jp>, jidanni <at> jidanni.org
Cc: 17380 <at> debbugs.gnu.org
Subject: Re: bug#17380: grep -C 0 could also give separators
Date: Sat, 10 May 2014 01:27:04 -0700
[Message part 1 (text/plain, inline)]
Norihiro Tanaka wrote:
> The argument that a separater should also be output for zero might be reasonable

It sounds reasonable to me, too.  Unfortunately that patch did not work 
for me.  Also, the change should be documented in NEWS, and the 
documentation updated, and a test case added.  I installed the attached 
patches.
[0001-grep-A-0-B-0-C-0-now-output-a-separator.patch (text/plain, attachment)]
[0002-tests-add-test-case-for-C-0-change.patch (text/plain, attachment)]

This bug report was last modified 11 years and 12 days ago.

Previous Next


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