Where is the “group-separator” option listed in the grep documentation?

The name of the pictureThe name of the pictureThe name of the pictureClash 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?







share|improve this question

























    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?







    share|improve this question





















      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?







      share|improve this question











      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?









      share|improve this question










      share|improve this question




      share|improve this question









      asked 2 days ago









      Zhro

      296212




      296212




















          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.






          share|improve this answer





















            Your Answer







            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "106"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            convertImagesToLinks: false,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );








             

            draft saved


            draft discarded


















            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






























            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.






            share|improve this answer

























              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.






              share|improve this answer























                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.






                share|improve this answer













                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.







                share|improve this answer













                share|improve this answer



                share|improve this answer











                answered 2 days ago









                Stéphane Chazelas

                277k52511841




                277k52511841






















                     

                    draft saved


                    draft discarded


























                     


                    draft saved


                    draft discarded














                    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













































































                    Popular posts from this blog

                    How to check contact read email or not when send email to Individual?

                    Bahrain

                    Postfix configuration issue with fips on centos 7; mailgun relay