Forum: Ruby binman 3.4.1 - man pages for bin scripts

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
79f9616c279f40ef953f366dcfe38dc8?d=identicon&s=25 Suraj Kurapati (sunaku)
on 2014-07-02 04:12
(Received via mailing list)
binman produces UNIX manual pages for executable scripts using
md2man.  It supports any scripting language that either has
multi-line comments or uses `#` for single-line comments, such
as Ruby, Perl, Python, Node.js, Tcl, AWK, UNIX shell, and more!

How to use it?

Simply document your script in Markdown as a comment at the top
of your script and call `binman show` to display it as a UNIX
manual page!  Or, call `binman help` to display your manual only
when your script receives with -h or --help command-line options.
Or, call `binman load` to extract the manual from your script for
your own custom processing.  And that's just the beginning: see
the manual for even more possibilities!

* Manuals: <>
* Sources: <>
* Support: <>
* Package: <>

## Version 3.4.1 (2014-07-01)

This release fixes the help options' REGEXP argument under non-Debian

### Patch:

  * pager(1) isn't a universal command: CentOS uses `less -is` instead.

  * Silence man(1) stderr when displaying dynamically extracted manual.

### Other:

  * README: add intro hook and source+result examples.

  * Document REGEXP argument for help options in `bin/*`.

  * Refer to REGEXP argument as PATTERN like less does.
This topic is locked and can not be replied to.