Where is the âgroup-separatorâ option listed in the grep documentation?
Clash Royale CLAN TAG#URR8PPP
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0;
up vote
1
down vote
favorite
My flavor of grep supports --group-separator
and --no-group-separator
but I only discovered this by googling how to solve a problem:
https://stackoverflow.com/questions/2168065/how-do-i-get-rid-of-line-separator-when-using-grep-with-context-lines
I tried:
grep --help | grep separator
and
man grep
/group-separator
with no results.
Where would I have found this information without Google and Stack Exchange?
grep man documentation
add a comment |Â
up vote
1
down vote
favorite
My flavor of grep supports --group-separator
and --no-group-separator
but I only discovered this by googling how to solve a problem:
https://stackoverflow.com/questions/2168065/how-do-i-get-rid-of-line-separator-when-using-grep-with-context-lines
I tried:
grep --help | grep separator
and
man grep
/group-separator
with no results.
Where would I have found this information without Google and Stack Exchange?
grep man documentation
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
My flavor of grep supports --group-separator
and --no-group-separator
but I only discovered this by googling how to solve a problem:
https://stackoverflow.com/questions/2168065/how-do-i-get-rid-of-line-separator-when-using-grep-with-context-lines
I tried:
grep --help | grep separator
and
man grep
/group-separator
with no results.
Where would I have found this information without Google and Stack Exchange?
grep man documentation
My flavor of grep supports --group-separator
and --no-group-separator
but I only discovered this by googling how to solve a problem:
https://stackoverflow.com/questions/2168065/how-do-i-get-rid-of-line-separator-when-using-grep-with-context-lines
I tried:
grep --help | grep separator
and
man grep
/group-separator
with no results.
Where would I have found this information without Google and Stack Exchange?
grep man documentation
asked 2 days ago
Zhro
296212
296212
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
3
down vote
accepted
Documentation of most GNU utilities is primarily written in texinfo
format, from which are derived the info
pages, HTML documentation and formats for printing like PDF or postscript.
For interactive browsing, that's generally the info
format you want. texinfo documentations borrows the table-of-content and index concepts from books. In info
, the native GNU utility to browse info
documentation, you can query the table of contents (the various nodes of the documentation) with g, and the index with i. Completion is available for both.
So here, I'd do:
info grep
And within info
, press i
to bring up the index prompt, type group
and then press Tab to see the possible completions. That brings group separator
straight away. If it hadn't, if there had been no index entry for it for instance, you could have search the entire text with s.
You can also invoke info
as:
info --index-search=group-separator grep
Or press I instead of i to get a virtual text node with the list of index entries that match your query.
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
3
down vote
accepted
Documentation of most GNU utilities is primarily written in texinfo
format, from which are derived the info
pages, HTML documentation and formats for printing like PDF or postscript.
For interactive browsing, that's generally the info
format you want. texinfo documentations borrows the table-of-content and index concepts from books. In info
, the native GNU utility to browse info
documentation, you can query the table of contents (the various nodes of the documentation) with g, and the index with i. Completion is available for both.
So here, I'd do:
info grep
And within info
, press i
to bring up the index prompt, type group
and then press Tab to see the possible completions. That brings group separator
straight away. If it hadn't, if there had been no index entry for it for instance, you could have search the entire text with s.
You can also invoke info
as:
info --index-search=group-separator grep
Or press I instead of i to get a virtual text node with the list of index entries that match your query.
add a comment |Â
up vote
3
down vote
accepted
Documentation of most GNU utilities is primarily written in texinfo
format, from which are derived the info
pages, HTML documentation and formats for printing like PDF or postscript.
For interactive browsing, that's generally the info
format you want. texinfo documentations borrows the table-of-content and index concepts from books. In info
, the native GNU utility to browse info
documentation, you can query the table of contents (the various nodes of the documentation) with g, and the index with i. Completion is available for both.
So here, I'd do:
info grep
And within info
, press i
to bring up the index prompt, type group
and then press Tab to see the possible completions. That brings group separator
straight away. If it hadn't, if there had been no index entry for it for instance, you could have search the entire text with s.
You can also invoke info
as:
info --index-search=group-separator grep
Or press I instead of i to get a virtual text node with the list of index entries that match your query.
add a comment |Â
up vote
3
down vote
accepted
up vote
3
down vote
accepted
Documentation of most GNU utilities is primarily written in texinfo
format, from which are derived the info
pages, HTML documentation and formats for printing like PDF or postscript.
For interactive browsing, that's generally the info
format you want. texinfo documentations borrows the table-of-content and index concepts from books. In info
, the native GNU utility to browse info
documentation, you can query the table of contents (the various nodes of the documentation) with g, and the index with i. Completion is available for both.
So here, I'd do:
info grep
And within info
, press i
to bring up the index prompt, type group
and then press Tab to see the possible completions. That brings group separator
straight away. If it hadn't, if there had been no index entry for it for instance, you could have search the entire text with s.
You can also invoke info
as:
info --index-search=group-separator grep
Or press I instead of i to get a virtual text node with the list of index entries that match your query.
Documentation of most GNU utilities is primarily written in texinfo
format, from which are derived the info
pages, HTML documentation and formats for printing like PDF or postscript.
For interactive browsing, that's generally the info
format you want. texinfo documentations borrows the table-of-content and index concepts from books. In info
, the native GNU utility to browse info
documentation, you can query the table of contents (the various nodes of the documentation) with g, and the index with i. Completion is available for both.
So here, I'd do:
info grep
And within info
, press i
to bring up the index prompt, type group
and then press Tab to see the possible completions. That brings group separator
straight away. If it hadn't, if there had been no index entry for it for instance, you could have search the entire text with s.
You can also invoke info
as:
info --index-search=group-separator grep
Or press I instead of i to get a virtual text node with the list of index entries that match your query.
answered 2 days ago
Stéphane Chazelas
277k52511841
277k52511841
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f460535%2fwhere-is-the-group-separator-option-listed-in-the-grep-documentation%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password