Question

In: Computer Science

how to write Man Page documentation ? i have a group project written in C and...

how to write Man Page documentation ? i have a group project written in C and my job is to write man page documentstion. can anyone please explain it and how to write and please provide example.
thank you

Solutions

Expert Solution

Man page

A man page (short for manual page) is a form of software documentation usually found on a Unix or Unix-like operating system. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts. A user may invoke a man page by issuing the man command.By default, man typically uses a terminal pager program such as more or less to display its output.

Some examples of man page

Common examples include: OPTIONS, EXIT STATUS, RETURN VALUE, ENVIRONMENT, BUGS, FILES, AUTHOR, REPORTING BUGS, HISTORY and COPYRIGHT. Manual pages can be written either in the old man macros, the new doc macros, or a combination of both ( mandoc ).

commands for formatting man pages

.\ " text -- to put comments
.TH name section center-footer left-footer center-header --used to set title,header and footer lines
.SH t -- creates section heading
.ss t -- creates sub heading
.p -- starts new paragraph
.HP --starts paragraph with hanging indent
.RS .RE -- starts and end a nested indentation.
.I -- italics text.
.B t --- to boldcase text

Hope this will help you.


Related Solutions

hey I have this program written in c++ and I have a problem with if statement...
hey I have this program written in c++ and I have a problem with if statement {} brackets and I was wondering if someone can fix it. //Name: Group1_QueueImplementation.cpp //made by ibrahem alrefai //programming project one part 4 //group members: Mohammad Bayat, Seungmin Baek,Ibrahem Alrefai #include <iostream> #include<stdlib.h> using namespace std; struct node { string data; struct node* next; }; struct node* front = NULL; struct node* rear = NULL; struct node* temp; void Insert() {     string val;    ...
I am needing assistance figuring out how to write the code for this project in C#...
I am needing assistance figuring out how to write the code for this project in C# (C sharp)... Create a new Project and name it - InClassParticipation3 Get up to 5 inputs from the user. The user must enter at least 1 number. After the first input, ask them if they would like to input another number if they say 'yes' get the provided input and multiply it to the other inputs provided by the user. If the user says...
How do I run a lex program written with C on xcode?
How do I run a lex program written with C on xcode?
Note: This is a single file C++ project - No documentation is required on this assignment....
Note: This is a single file C++ project - No documentation is required on this assignment. Write a Fraction class whose objects will represent Fractions. Note: You should not simplify (reduce) fractions, you should not use "const," and all of your code should be in a single file. In this single file, the class declaration will come first, followed by the definitions of the class member functions, followed by the client program. You must provide the following member functions: A...
I have to write a 10-12 page paper on any Microeconomic topic. I have no good...
I have to write a 10-12 page paper on any Microeconomic topic. I have no good ideas that can get me to write that many pages about. Any ideas and what should I include in the paper? Thank you in advance
I. Recall a recent group project or task in which you have participated. Explain how members...
I. Recall a recent group project or task in which you have participated. Explain how members of the group displayed each of the managerial skills (technical, interpersonal, conceptual, diagnostic, communication, decision-making, or time management skills) or were used in that situation. II.The text notes that management is both a science and an art. Recall an interaction you have had with someone at a higher level in an organization (manager, teacher, group leader, or the like). In that interaction, how did...
Individual project details: 1. This project is to be a 2-3 page written document (plus citation...
Individual project details: 1. This project is to be a 2-3 page written document (plus citation page) answer the two questions outlined below. Understand your audience and their knowledge level so do not take the time to explain those concepts already known. There is wide latitude on how to approach the subject area and it will be necessary to know the subject matter well for a concise analysis along with the ability to discern important data from just information in...
I have a question. I am doing revenue report project. I have to write an efficient...
I have a question. I am doing revenue report project. I have to write an efficient and effeictive means of testing the control. For payment control, the related assertion is Accuray, and Completeness. Possible test of effectiveness is observe card and cash transaction procedures from start to finish. I can't come up with any other effectivness. Please help me. Thanks.
So I have written a code for it but i just have a problem with the...
So I have written a code for it but i just have a problem with the output. For the month with the highest temperature and lowest temperature, my code starts at 0 instead of 1. For example if I input that month 1 had a high of 20 and low of -10, and every other month had much warmer weather than that, it should say "The month with the lowest temperature is 1" but instead it says "The month with...
Hello! I have a question regarding accounting 101 for a group project, I need to find...
Hello! I have a question regarding accounting 101 for a group project, I need to find the financial statements for JcPenney for the fiscal year of 2019. So far, when I look up the financial statements for 2019, all I seem to find are NON-GAAP financial reports for the company's fiscal year of 2019. I need GAAP financial reports for JcPenny and the statements I need are: Income statement, Statement of stockholders' equity, balance sheet, and statement of cash flow....
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT