Rand Stats

rakudoc2man

zef:samy

NAME

rakudoc2man - Convert Rakudoc files to formatted *roff input

SYNOPSIS

rakudoc2man [--name=<name>] [--section=<section>] [<input>] [<output>]
rakudoc2man --help

DESCRIPTION

rakudoc2man is a front-end for Pod::To::Man, using it to generate *roff input from Rakudoc source. The resulting *roff code is suitable for displaying on a terminal using man(1). rakudoc2man is meant to be a more robust alternative to using Pod::To::Man with Raku's --doc renderer.

input is the file to read for Rakudoc source. If input is not given, it defaults to STDIN. The Rakudoc source should consist solely of Rakudoc data, it should not be embedded with normal Raku code (this is unfortunately a limitation with Pod::Load). If you wish to supply Rakudoc data embedded in normal Raku code, you will have to process it through some sort of Rakudoc extractor.

output is the file to output the *roff to. It defaults to STDOUT if not otherwise specified.

OPTIONS

AUTHOR

rakudoc2man was written by Samuel Young samyoung12788@gmail.com. Pod::To::Man was originally written by Mike Clarke clarkema@clarkema.org, with notable contributions by Vadim Belman vrurg@lflat.org and Samuel Young.

Some of this documentation was shamelessly copied from the pod2man manual page for Perl.

SEE ALSO

Pod::Load, Pod::To::Man, man(1), nroff(1), pod2man(1), man(7)