Re: [Groff] Parsing specific section of man page

2012-01-22 Thread Siteshwar Vashisht
Hi, No, I am in no way interested in X. I am working on a shell, and the idea is to show suggestions for command line options on pressing tab. So let's say on pressing "ls", I will get all the command line options for ls command. Now a good idea is to fetch these options from manual pages. @Larry

[Groff] Parsing specific section of man page

2012-01-21 Thread Siteshwar Vashisht
Hi, Is there any option in groff to parse only a specifiec section of man page ? For e.g. when I say groff -X -P -resolution -P100 -man passwd It parses and shows me the whole page. What if I want to parse only OPTIONS section ? I am looking for something like :- groff -X -P -resolution -P100 -