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

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....
Strategic Management in Healthcare Capstone Project I had to write a 12 page paper and now...
Strategic Management in Healthcare Capstone Project I had to write a 12 page paper and now I need to reflect on your experience developing the Capstone Project. What was your favorite part to develop? How can you see using the skills you’ve gained in this Capstone Project in your professional life? Can you please help write something in regards to: Providing healthcare services to residents in rural areas has presented increased challenges that include access and cost. For your Capstone...
I have written code in C programming that checks where the command line arguments are floats...
I have written code in C programming that checks where the command line arguments are floats or not. For example, if I type "./math 1 1 0 0 2.5 3" in the terminal, my program realizes they are all floats but if I type "./math 1 1 0 0 2.5 g", it recognizes that not all arguments are floats and gives an error message. I want to take my code further such that after typing in "./math 1 1 0...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT