Your message dated Fri, 11 Sep 2009 11:13:07 +0800
with message-id <[email protected]>
and subject line mention context lines somehow also include blank lines
has caused the Debian Bug report #546063,
regarding mention context lines somehow also include blank lines
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
546063: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=546063
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: grep
Version: 2.5.4-4
Severity: wishlist
File: /usr/share/man/man1/grep.1.gz
X-debbugs-cc: [email protected]

On the man page at:

   Context Line Control

**Please somehow mention at this place on the man page that Context will include
  blank lines in the fashion below, that one never expected.... mention
  the algorithm used. Thanks. Also mention how to just get a certain
  number of context lines, with no introspection about what the content
  of those lines are.**

       -A NUM, --after-context=NUM
              Print NUM lines of trailing context after matching lines.  Places 
a line containing a group separator (--)
              between  contiguous  groups  of  matches.  With the -o or 
--only-matching option, this has no effect and a
              warning is given.


$ w3m -dump http://abj.jidanni.org/|LC_ALL=C grep -A 0 Search
Search
[Go]  [Search]
$ w3m -dump http://abj.jidanni.org/|LC_ALL=C grep -A 1 Search
Search

[Go]  [Search]
Toolbox
$ w3m -dump http://abj.jidanni.org/|LC_ALL=C grep -A 2 Search
Search

[Go]  [Search]
Toolbox

$ w3m -dump http://abj.jidanni.org/|LC_ALL=C grep -A 3 Search
Search

[Go]  [Search]
Toolbox

  • What links here



--- End Message ---
--- Begin Message ---
Duh... sorry. Oops. Closing bug.


--- End Message ---

Reply via email to