The difference between Documentation Methods

Clash 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
documentation
add a comment |Â
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
documentation
add a comment |Â
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
documentation
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
documentation
asked Mar 15 at 13:09
AbdAllah Talaat
483
483
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
1
down vote
accepted
mandisplays man pages. It doesn't attempt to display Info docs.pinfodisplays 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 runpinfo bashand the Info docs forbasharen't available (perhaps because you haven't installed thebash-docpackage) then it will runman bashfor 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.
pinfoalso has a-mor--manualoption 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 toman, and will not be used bypinfoitself..Neither
pinfonormanwill look under/usr/share/doc.
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,pinfowill try to display the man page if the .info file is missing. My answer explicitly states whatmanandpinfowill 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
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
mandisplays man pages. It doesn't attempt to display Info docs.pinfodisplays 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 runpinfo bashand the Info docs forbasharen't available (perhaps because you haven't installed thebash-docpackage) then it will runman bashfor 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.
pinfoalso has a-mor--manualoption 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 toman, and will not be used bypinfoitself..Neither
pinfonormanwill look under/usr/share/doc.
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,pinfowill try to display the man page if the .info file is missing. My answer explicitly states whatmanandpinfowill 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
add a comment |Â
up vote
1
down vote
accepted
mandisplays man pages. It doesn't attempt to display Info docs.pinfodisplays 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 runpinfo bashand the Info docs forbasharen't available (perhaps because you haven't installed thebash-docpackage) then it will runman bashfor 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.
pinfoalso has a-mor--manualoption 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 toman, and will not be used bypinfoitself..Neither
pinfonormanwill look under/usr/share/doc.
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,pinfowill try to display the man page if the .info file is missing. My answer explicitly states whatmanandpinfowill 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
add a comment |Â
up vote
1
down vote
accepted
up vote
1
down vote
accepted
mandisplays man pages. It doesn't attempt to display Info docs.pinfodisplays 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 runpinfo bashand the Info docs forbasharen't available (perhaps because you haven't installed thebash-docpackage) then it will runman bashfor 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.
pinfoalso has a-mor--manualoption 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 toman, and will not be used bypinfoitself..Neither
pinfonormanwill look under/usr/share/doc.
mandisplays man pages. It doesn't attempt to display Info docs.pinfodisplays 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 runpinfo bashand the Info docs forbasharen't available (perhaps because you haven't installed thebash-docpackage) then it will runman bashfor 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.
pinfoalso has a-mor--manualoption 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 toman, and will not be used bypinfoitself..Neither
pinfonormanwill look under/usr/share/doc.
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,pinfowill try to display the man page if the .info file is missing. My answer explicitly states whatmanandpinfowill 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
add a comment |Â
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,pinfowill try to display the man page if the .info file is missing. My answer explicitly states whatmanandpinfowill 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
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%2f430395%2fthe-difference-between-documentation-methods%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