The difference between Documentation Methods

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I am confused about a three Documentation techniques used, I have The following questions concerning man , pinfo , /usr/share/doc



  • Does the man command Display the same content like pinfo and just the difference in the way they display information ? or they are totally different in content and the source directory it gets the documentation from ?


  • Does any of man or pinfo look in pinfo look in /usr/share/doc
    or it's just a third way for searching for information for installed packages







share|improve this question
























    up vote
    0
    down vote

    favorite












    I am confused about a three Documentation techniques used, I have The following questions concerning man , pinfo , /usr/share/doc



    • Does the man command Display the same content like pinfo and just the difference in the way they display information ? or they are totally different in content and the source directory it gets the documentation from ?


    • Does any of man or pinfo look in pinfo look in /usr/share/doc
      or it's just a third way for searching for information for installed packages







    share|improve this question






















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I am confused about a three Documentation techniques used, I have The following questions concerning man , pinfo , /usr/share/doc



      • Does the man command Display the same content like pinfo and just the difference in the way they display information ? or they are totally different in content and the source directory it gets the documentation from ?


      • Does any of man or pinfo look in pinfo look in /usr/share/doc
        or it's just a third way for searching for information for installed packages







      share|improve this question












      I am confused about a three Documentation techniques used, I have The following questions concerning man , pinfo , /usr/share/doc



      • Does the man command Display the same content like pinfo and just the difference in the way they display information ? or they are totally different in content and the source directory it gets the documentation from ?


      • Does any of man or pinfo look in pinfo look in /usr/share/doc
        or it's just a third way for searching for information for installed packages









      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 15 at 13:09









      AbdAllah Talaat

      483




      483




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          1
          down vote



          accepted










          • man displays man pages. It doesn't attempt to display Info docs.



          • pinfo displays documentation in GNU Texinfo format if it is available. If Info-format documenation doesn't exist, it will try to display a man page - e.g. if you run pinfo bash and the Info docs for bash aren't available (perhaps because you haven't installed the bash-doc package) then it will run man bash for you.



            pinfo's man page says:




            When the search for info pages fails, man is called with the infopage argument, and its output is parsed by pinfo. This means that when you don't have the appropriate info page, but have a man page instead; the man page will be viewed.




            pinfo also has a -m or --manual option you can use to tell it to display the man page rather than the info page by default. Note that everything after the -m, including other options, is passed to man, and will not be used by pinfo itself..



          • Neither pinfo nor man will look under /usr/share/doc.






          share|improve this answer






















          • that sums up that each of the three ways have it's own content at it's own directory . except for pinfo if didn't find the topic at it's own directory it will run man topic ?
            – AbdAllah Talaat
            Mar 15 at 13:22











          • yes, as I said, pinfo will try to display the man page if the .info file is missing. My answer explicitly states what man and pinfo will and will not do.
            – cas
            Mar 15 at 13:28










          • thanks also for the edit .. it illustrated the mechanism further
            – AbdAllah Talaat
            Mar 15 at 13:44










          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%2f430395%2fthe-difference-between-documentation-methods%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
          1
          down vote



          accepted










          • man displays man pages. It doesn't attempt to display Info docs.



          • pinfo displays documentation in GNU Texinfo format if it is available. If Info-format documenation doesn't exist, it will try to display a man page - e.g. if you run pinfo bash and the Info docs for bash aren't available (perhaps because you haven't installed the bash-doc package) then it will run man bash for you.



            pinfo's man page says:




            When the search for info pages fails, man is called with the infopage argument, and its output is parsed by pinfo. This means that when you don't have the appropriate info page, but have a man page instead; the man page will be viewed.




            pinfo also has a -m or --manual option you can use to tell it to display the man page rather than the info page by default. Note that everything after the -m, including other options, is passed to man, and will not be used by pinfo itself..



          • Neither pinfo nor man will look under /usr/share/doc.






          share|improve this answer






















          • that sums up that each of the three ways have it's own content at it's own directory . except for pinfo if didn't find the topic at it's own directory it will run man topic ?
            – AbdAllah Talaat
            Mar 15 at 13:22











          • yes, as I said, pinfo will try to display the man page if the .info file is missing. My answer explicitly states what man and pinfo will and will not do.
            – cas
            Mar 15 at 13:28










          • thanks also for the edit .. it illustrated the mechanism further
            – AbdAllah Talaat
            Mar 15 at 13:44














          up vote
          1
          down vote



          accepted










          • man displays man pages. It doesn't attempt to display Info docs.



          • pinfo displays documentation in GNU Texinfo format if it is available. If Info-format documenation doesn't exist, it will try to display a man page - e.g. if you run pinfo bash and the Info docs for bash aren't available (perhaps because you haven't installed the bash-doc package) then it will run man bash for you.



            pinfo's man page says:




            When the search for info pages fails, man is called with the infopage argument, and its output is parsed by pinfo. This means that when you don't have the appropriate info page, but have a man page instead; the man page will be viewed.




            pinfo also has a -m or --manual option you can use to tell it to display the man page rather than the info page by default. Note that everything after the -m, including other options, is passed to man, and will not be used by pinfo itself..



          • Neither pinfo nor man will look under /usr/share/doc.






          share|improve this answer






















          • that sums up that each of the three ways have it's own content at it's own directory . except for pinfo if didn't find the topic at it's own directory it will run man topic ?
            – AbdAllah Talaat
            Mar 15 at 13:22











          • yes, as I said, pinfo will try to display the man page if the .info file is missing. My answer explicitly states what man and pinfo will and will not do.
            – cas
            Mar 15 at 13:28










          • thanks also for the edit .. it illustrated the mechanism further
            – AbdAllah Talaat
            Mar 15 at 13:44












          up vote
          1
          down vote



          accepted







          up vote
          1
          down vote



          accepted






          • man displays man pages. It doesn't attempt to display Info docs.



          • pinfo displays documentation in GNU Texinfo format if it is available. If Info-format documenation doesn't exist, it will try to display a man page - e.g. if you run pinfo bash and the Info docs for bash aren't available (perhaps because you haven't installed the bash-doc package) then it will run man bash for you.



            pinfo's man page says:




            When the search for info pages fails, man is called with the infopage argument, and its output is parsed by pinfo. This means that when you don't have the appropriate info page, but have a man page instead; the man page will be viewed.




            pinfo also has a -m or --manual option you can use to tell it to display the man page rather than the info page by default. Note that everything after the -m, including other options, is passed to man, and will not be used by pinfo itself..



          • Neither pinfo nor man will look under /usr/share/doc.






          share|improve this answer














          • man displays man pages. It doesn't attempt to display Info docs.



          • pinfo displays documentation in GNU Texinfo format if it is available. If Info-format documenation doesn't exist, it will try to display a man page - e.g. if you run pinfo bash and the Info docs for bash aren't available (perhaps because you haven't installed the bash-doc package) then it will run man bash for you.



            pinfo's man page says:




            When the search for info pages fails, man is called with the infopage argument, and its output is parsed by pinfo. This means that when you don't have the appropriate info page, but have a man page instead; the man page will be viewed.




            pinfo also has a -m or --manual option you can use to tell it to display the man page rather than the info page by default. Note that everything after the -m, including other options, is passed to man, and will not be used by pinfo itself..



          • Neither pinfo nor man will look under /usr/share/doc.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Mar 15 at 13:33

























          answered Mar 15 at 13:15









          cas

          37.6k44392




          37.6k44392











          • that sums up that each of the three ways have it's own content at it's own directory . except for pinfo if didn't find the topic at it's own directory it will run man topic ?
            – AbdAllah Talaat
            Mar 15 at 13:22











          • yes, as I said, pinfo will try to display the man page if the .info file is missing. My answer explicitly states what man and pinfo will and will not do.
            – cas
            Mar 15 at 13:28










          • thanks also for the edit .. it illustrated the mechanism further
            – AbdAllah Talaat
            Mar 15 at 13:44
















          • that sums up that each of the three ways have it's own content at it's own directory . except for pinfo if didn't find the topic at it's own directory it will run man topic ?
            – AbdAllah Talaat
            Mar 15 at 13:22











          • yes, as I said, pinfo will try to display the man page if the .info file is missing. My answer explicitly states what man and pinfo will and will not do.
            – cas
            Mar 15 at 13:28










          • thanks also for the edit .. it illustrated the mechanism further
            – AbdAllah Talaat
            Mar 15 at 13:44















          that sums up that each of the three ways have it's own content at it's own directory . except for pinfo if didn't find the topic at it's own directory it will run man topic ?
          – AbdAllah Talaat
          Mar 15 at 13:22





          that sums up that each of the three ways have it's own content at it's own directory . except for pinfo if didn't find the topic at it's own directory it will run man topic ?
          – AbdAllah Talaat
          Mar 15 at 13:22













          yes, as I said, pinfo will try to display the man page if the .info file is missing. My answer explicitly states what man and pinfo will and will not do.
          – cas
          Mar 15 at 13:28




          yes, as I said, pinfo will try to display the man page if the .info file is missing. My answer explicitly states what man and pinfo will and will not do.
          – cas
          Mar 15 at 13:28












          thanks also for the edit .. it illustrated the mechanism further
          – AbdAllah Talaat
          Mar 15 at 13:44




          thanks also for the edit .. it illustrated the mechanism further
          – AbdAllah Talaat
          Mar 15 at 13:44












           

          draft saved


          draft discarded


























           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f430395%2fthe-difference-between-documentation-methods%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