[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug#546063: mention context lines somehow also include blank lines
From: |
jidanni |
Subject: |
Bug#546063: mention context lines somehow also include blank lines |
Date: |
Fri, 11 Sep 2009 11:00:16 +0800 |
Package: grep
Version: 2.5.4-4
Severity: wishlist
File: /usr/share/man/man1/grep.1.gz
X-debbugs-cc: address@hidden
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Bug#546063: mention context lines somehow also include blank lines,
jidanni <=