Skip to content

axper/man2archwiki

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

man2archwiki

Manpage to ArchWiki style HTML converter

Requirements

  • mdocml (aka mandoc). Install it from AUR.

Usage

First make sure your $BROWSER is set, for example:

export BROWSER=firefox

It's a good idea to put that line in your .bashrc.

Then you can run this script:

./m section manpage_name

For example:

man2archwiki 8 pacman

or simply:

man2archwiki pacman

It will open the page in your browser.

The syntax is close to that of man command: the name is required, but section number can be ommited. If ommited, manpage will be searched in the same order as the man command does it.

If you are not sure what section a manpage is, you can use apropos, for example:

apropos pacman

About

Manpage to ArchWiki style HTML converter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages