ruby/man/goruby.1
nagachika 888f1f24e9 merge revision(s) 58410,58411: [Backport #13487]
ri.1: rewrite ri man page

	* man/ri.1: update the (very outdated) ri man page:
	  * update document date
	  * fix document title formatting and volume name
	  * update descriptions and options to current ri --help text
	  * fix some mdoc formatting errors (missing escaping of `\',
	    wrong macro for bullet list items)
	  * various rewordings and other improvements

	improve man pages

	* man/ruby.1, man/erb.1, man/goruby.1, man/irb.1:
	  fix document title formatting and volume name,
	  improve "REPORTING BUGS" section: fix mdoc formatting error
	  (wrong macro for bullet list items), small rewordings.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@61370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-12-20 15:34:37 +00:00

39 lines
787 B
Groff

.\"Ruby is copyrighted by Yukihiro Matsumoto <matz@netlab.jp>.
.Dd November 15, 2012
.Dt GORUBY \&1 "Ruby Programmer's Reference Guide"
.Os UNIX
.Sh NAME
.Nm goruby
.Nd A code-golfer's best friend
.Sh SYNOPSIS
.Nm
.Op options ...
.Op Fl -
.Op Ar program_file
.Op Ar argument ...
.Sh DESCRIPTION
.Sy goruby
is a kind of Ruby language processor
which recognizes extremely shortened programs as below:
.Bd -literal -offset indent
rq"date";s De.td
.Ed
.Pp
Which means:
.Bd -literal -offset indent
require"date";puts Date.today
.Ed
.Pp
.Sh OPTIONS
.Sy goruby
takes same options as
.Xr ruby 1 .
.Sh SEE ALSO
.Bl -hang -compact -width "ruby(1)"
.It Xr ruby 1
The stiff version of Ruby interpreter.
.El
.Pp
.Sh AUTHORS
Originally written by Nobuyoshi Nakada and developed by the
Ruby core team.