* man/*.1: suppressed warnings.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2009-10-26 06:44:31 +00:00
parent dc28ce1b0b
commit 66f5c5eb30
5 changed files with 59 additions and 60 deletions

View File

@ -18,14 +18,14 @@
.Pp .Pp
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm .Nm
is a command line front-end for is a command line front-end for
.Li "ERB" .Li "ERB"
library, which is an implementation of eRuby. library, which is an implementation of eRuby.
.Pp
eRuby provdes an easy to use but powerful templating system for Ruby. eRuby provdes an easy to use but powerful templating system for Ruby.
Using eRuby, actual Ruby code can be added to any plain text document for the Using eRuby, actual Ruby code can be added to any plain text document for the
purposes of generating document information details and/or flow control. purposes of generating document information details and/or flow control.
.Pp
.Nm .Nm
is a part of is a part of
.Nm Ruby . .Nm Ruby .
@ -34,18 +34,18 @@ is a part of
.Bl -tag -width "1234567890123" -compact .Bl -tag -width "1234567890123" -compact
.Pp .Pp
.It Fl -version .It Fl -version
Prints the version of Prints the version of
.Nm . .Nm .
.Pp .Pp
.It Fl E Ar external Ns Op : Ns Ar internal .It Fl E Ar external Ns Op : Ns Ar internal
.It Fl -encoding Ar external Ns Op : Ns Ar internal .It Fl -encoding Ar external Ns Op : Ns Ar internal
Specifies the default value(s) for external encodings and internal encoding. Values should be separated with colon (:). Specifies the default value(s) for external encodings and internal encoding. Values should be separated with colon (:).
.Pp
You can ommit the one for internal encodings, then the value You can ommit the one for internal encodings, then the value
.Pf ( Li "Encoding.default_internal" ) will be nil. .Pf ( Li "Encoding.default_internal" ) will be nil.
.Pp .Pp
.It Fl P .It Fl P
Evaluates lines starting with Evaluates lines starting with
.Li "%" .Li "%"
as Ruby code and removes the tailing EOLs. as Ruby code and removes the tailing EOLs.
.Pp .Pp
@ -53,7 +53,7 @@ as Ruby code and removes the tailing EOLs.
Specifies the safe level in which eRuby script will run. Specifies the safe level in which eRuby script will run.
.Pp .Pp
.It Fl T Ar mode .It Fl T Ar mode
Specifies trim mode (default 0). Specifies trim mode (default 0).
.Ar mode .Ar mode
can be one of can be one of
.Bl -hang -offset indent .Bl -hang -offset indent
@ -96,10 +96,10 @@ Prints a summry of the options.
.It Fl n .It Fl n
Used with Used with
.Fl x . .Fl x .
Prepends the line number to each line in the output. Prepends the line number to each line in the output.
.Pp .Pp
.It Fl v .It Fl v
Enables verbose mode. Enables verbose mode.
.Li "$VERBOSE" .Li "$VERBOSE"
will be set to true. will be set to true.
.Pp .Pp
@ -119,7 +119,7 @@ Here is an eRuby script
<library><%= Prime.each(10).to_a.join(", ") %></library> <library><%= Prime.each(10).to_a.join(", ") %></library>
</erb-example> </erb-example>
.Ed .Ed
.Pp
Command Command
.Dl "% erb -T - example.erb" .Dl "% erb -T - example.erb"
prints prints
@ -134,17 +134,16 @@ prints
.Pp .Pp
.Sh SEE ALSO .Sh SEE ALSO
.Xr ruby 1 . .Xr ruby 1 .
.Pp
And see And see
.Xr ri 1 .Xr ri 1
documentation for documentation for
.Li "ERB" .Li "ERB"
class. class.
.El
.Pp .Pp
.Sh REPORTING BUGS .Sh REPORTING BUGS
.Bl -bullet .Bl -bullet
.Li Security vulnerabilities should be reported via an email to .Li Security vulnerabilities should be reported via an email to
.Aq security@ruby-lang.org Ns .Aq security@ruby-lang.org Ns
.Li . .Li .
Reported problems will be published after fixed. Reported problems will be published after fixed.

View File

@ -40,7 +40,7 @@ Prints the version of
.It Fl -encoding Ar external Ns Op : Ns Ar internal .It Fl -encoding Ar external Ns Op : Ns Ar internal
Same as `ruby -E' . Same as `ruby -E' .
Specifies the default value(s) for external encodings and internal encoding. Values should be separated with colon (:). Specifies the default value(s) for external encodings and internal encoding. Values should be separated with colon (:).
.Pp
You can ommit the one for internal encodings, then the value You can ommit the one for internal encodings, then the value
.Pf ( Li "Encoding.default_internal" ) will be nil. .Pf ( Li "Encoding.default_internal" ) will be nil.
.Pp .Pp
@ -62,7 +62,7 @@ Sets
to true. to true.
.Pp .Pp
.It Fl f .It Fl f
Suppresses read of Suppresses read of
.Pa ~/.irbrc . .Pa ~/.irbrc .
.Pp .Pp
.It Fl h .It Fl h
@ -93,9 +93,9 @@ Doesn't use Readline extension module.
Switch prompt mode. Pre-defined prompt modes are Switch prompt mode. Pre-defined prompt modes are
`default', `simple', `xmp' and `inf-ruby'. `default', `simple', `xmp' and `inf-ruby'.
.Pp .Pp
.It Fl -inf-ruby-mode .It Fl -inf-ruby-mode
Uses prompt appropriate for inf-ruby-mode on emacs. Uses prompt appropriate for inf-ruby-mode on emacs.
Suppresses --readline. Suppresses --readline.
.Pp .Pp
.It Fl -simple-prompt .It Fl -simple-prompt
Makes prompts simple. Makes prompts simple.
@ -111,7 +111,7 @@ Displays backtrace top
.Ar n .Ar n
and tail and tail
.Ar n Ns . .Ar n Ns .
The default value is 16. The default value is 16.
.Pp .Pp
.It Fl -irb_debug Ar n .It Fl -irb_debug Ar n
Sets internal debug level to n (not for popular use) Sets internal debug level to n (not for popular use)
@ -152,14 +152,14 @@ Personal irb initialization.
.Dl :ok .Dl :ok
.Dl => :ok .Dl => :ok
.Dl irb(main):009:0> Ic quit .Dl irb(main):009:0> Ic quit
.Dl % .Dl %
.Pp .Pp
.Sh SEE ALSO .Sh SEE ALSO
.Xr ruby 1 . .Xr ruby 1 .
.Pp .Pp
.Sh REPORTING BUGS .Sh REPORTING BUGS
.Bl -bullet .Bl -bullet
.Li Security vulnerabilities should be reported via an email to .Li Security vulnerabilities should be reported via an email to
.Aq security@ruby-lang.org Ns .Aq security@ruby-lang.org Ns
.Li . .Li .
Reported problems will be published after fixed. Reported problems will be published after fixed.

View File

@ -22,17 +22,17 @@
.Ar target ... .Ar target ...
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm Rake .Nm Rake
is a simple is a simple
.Xr ruby 1 .Xr ruby 1
build program with capabilities similar to the regular build program with capabilities similar to the regular
.Xr make 1 .Xr make 1
command. command.
.Pp
.Nm Rake .Nm Rake
has the following features: has the following features:
.Bl -bullet .Bl -bullet
.It .It
Rakefiles (Rake's version of Makefiles) are completely defined in standard Ruby syntax. Rakefiles (Rake's version of Makefiles) are completely defined in standard Ruby syntax.
No XML files to edit. No quirky Makefile syntax to worry about (is that a tab or a space?). No XML files to edit. No quirky Makefile syntax to worry about (is that a tab or a space?).
.It .It
Users can specify tasks with prerequisites. Users can specify tasks with prerequisites.
@ -41,7 +41,7 @@ Rake supports rule patterns to sythesize implicit tasks.
.It .It
Flexible FileLists that act like arrays but know about manipulating file names and paths. Flexible FileLists that act like arrays but know about manipulating file names and paths.
.It .It
A library of prepackaged tasks to make building rakefiles easier. A library of prepackaged tasks to make building rakefiles easier.
.El .El
.Pp .Pp
.Sh OPTIONS .Sh OPTIONS
@ -56,7 +56,7 @@ Put Task and FileTask in the top level namespace
.Pp .Pp
.It Fl D Op Ar PATTERN .It Fl D Op Ar PATTERN
.It Fl -describe Op Ar PATTERN .It Fl -describe Op Ar PATTERN
Describe the tasks (matching optional Describe the tasks (matching optional
.Ar PATTERN Ns .Ar PATTERN Ns
), then exit. ), then exit.
.Pp .Pp
@ -71,7 +71,7 @@ Use standard project Rakefile search paths, ignore system wide rakefiles.
.Pp .Pp
.It Fl I Ar LIBDIR .It Fl I Ar LIBDIR
.It Fl -libdir Ar LIBDIR .It Fl -libdir Ar LIBDIR
Include Include
.Ar LIBDIR .Ar LIBDIR
in the search path for required modules. in the search path for required modules.
.Pp .Pp
@ -89,7 +89,7 @@ Display the tasks and dependencies, then exit.
.It Fl -rakelibdir Ar RAKELIBDIR .It Fl -rakelibdir Ar RAKELIBDIR
Auto-import any .rake files in Auto-import any .rake files in
.Ar RAKELIBDIR . .Ar RAKELIBDIR .
(default is (default is
.Pa rakelib .Pa rakelib
) )
.Pp .Pp
@ -113,7 +113,7 @@ Prints a summary of options.
.Pp .Pp
.It Fl g .It Fl g
.It Fl -system .It Fl -system
Using system wide (global) rakefiles (usually Using system wide (global) rakefiles (usually
.Pa ~/.rake/*.rake .Pa ~/.rake/*.rake
). ).
.Pp .Pp
@ -135,7 +135,7 @@ Require MODULE before executing rakefile.
.Pp .Pp
.It Fl s .It Fl s
.It Fl -silent .It Fl -silent
Like Like
.Fl -quiet , .Fl -quiet ,
but also suppresses the 'in directory' announcement. but also suppresses the 'in directory' announcement.
.Pp .Pp
@ -158,12 +158,12 @@ Trace the rules resolution.
.Pp .Pp
http://rake.rubyforge.org/ http://rake.rubyforge.org/
.Sh REPORTING BUGS .Sh REPORTING BUGS
Bugs, features requests and other issues can be logged at Bugs, features requests and other issues can be logged at
<\fBhttp://onestepback.org/redmine/projects/show/rake\fR>. <\fBhttp://onestepback.org/redmine/projects/show/rake\fR>.
.Pp .Pp
You will need an account to before you can post issues. Register at <\fBhttp://onestepback.org/redmine/account/register\fR>. You will need an account to before you can post issues. Register at <\fBhttp://onestepback.org/redmine/account/register\fR>.
Or you can send an email to the author. Or you can send an email to the author.
.Sh AUTHOR .Sh AUTHOR
.Nm Rake .Nm Rake
is written by is written by
.An Jim Weirich Aq jim@weirichhouse.org .An Jim Weirich Aq jim@weirichhouse.org

View File

@ -4,7 +4,7 @@
.Os UNIX .Os UNIX
.Sh NAME .Sh NAME
.Nm ri .Nm ri
.Nd Ruby API reference front end .Nd Ruby API reference front end
.Sh SYNOPSIS .Sh SYNOPSIS
.Nm .Nm
.Op Fl Ti .Op Fl Ti
@ -12,19 +12,19 @@
.Op Fl f Ar format .Op Fl f Ar format
.Op Fl -list-doc-dirs .Op Fl -list-doc-dirs
.Op Fl -no-standard-docs .Op Fl -no-standard-docs
.Op Fl - Ns Oo Cm no- Oc Ns Cm Bro Cm system Ns | Ns Cm site Ns | Ns Cm gems Ns | Ns Cm home Brc .Op Fl - Ns Oo Cm no- Oc Ns Bro Cm system Ns | Ns Cm site Ns | Ns Cm gems Ns | Ns Cm home Brc
.Op Fl - Ns Oo Cm no- Oc Ns Cm use-cache .Op Fl - Ns Oo Cm no- Oc Ns Cm use-cache
.Op Fl -width Ns = Ns Ar width .Op Fl -width Ns = Ns Ar width
.Op Ar target ... .Op Ar target ...
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm .Nm
is a CUI front end for the Ruby API reference. is a CUI front end for the Ruby API reference.
You can search and read API reference for classes and methods with You can search and read API reference for classes and methods with
.Nm . .Nm .
.Pp
.Nm .Nm
is a part of Ruby. is a part of Ruby.
.Pp
.Ar target .Ar target
can be one of the following forms: can be one of the following forms:
.Bl -diag -offset indent .Bl -diag -offset indent
@ -39,10 +39,10 @@ for both class and instance methods
.It method .It method
for both class and instance methods for both class and instance methods
.El .El
.Pp
All class names may be abbreviated to their minimum unambiguous form. If a name All class names may be abbreviated to their minimum unambiguous form. If a name
is ambiguous, all valid options will be listed. is ambiguous, all valid options will be listed.
.Pp
For example: For example:
.Bd -literal -offset indent .Bd -literal -offset indent
ri Fil ri Fil
@ -50,7 +50,7 @@ ri File
ri File.new ri File.new
ri zip ri zip
.Ed .Ed
.Pp
Note that shell quoting may be required for method names containing Note that shell quoting may be required for method names containing
punctuation: punctuation:
.Bd -literal -offset indent .Bd -literal -offset indent
@ -61,7 +61,7 @@ ri compact\!
.Bl -tag -width "1234567890123" -compact .Bl -tag -width "1234567890123" -compact
.Pp .Pp
.It Fl -version .It Fl -version
Prints the version of Prints the version of
.Nm . .Nm .
.Pp .Pp
.It Fl T .It Fl T
@ -84,7 +84,7 @@ pager or tell the pager to allow control characters.
.Pp .Pp
.It Fl i .It Fl i
.It Fl -interactive .It Fl -interactive
This makes This makes
.Nm .Nm
go into interactive mode. go into interactive mode.
.Pp .Pp
@ -103,8 +103,8 @@ Do not include documentation from the Ruby standard library,
.Pa site_lib , .Pa site_lib ,
installed gems, or installed gems, or
.Pa ~/.rdoc . .Pa ~/.rdoc .
.Pp
Equivalent to specifying the options Equivalent to specifying the options
.Fl -no-system , Fl -no-site , Fl -no-gems , .Fl -no-system , Fl -no-site , Fl -no-gems ,
and and
.Fl -no-home . .Fl -no-home .
@ -122,7 +122,7 @@ Include documentation from RubyGems. Defaults to true.
Include documentation stored in ~/.rdoc. Defaults to true. Include documentation stored in ~/.rdoc. Defaults to true.
.Pp .Pp
.It Fl - Ns Oo Cm no- Oc Ns Cm use-cache .It Fl - Ns Oo Cm no- Oc Ns Cm use-cache
Whether or not to use Whether or not to use
.Nm Ns .Nm Ns
.Ns 's cache. True by default. .Ns 's cache. True by default.
.Pp .Pp
@ -165,7 +165,7 @@ Searches user-wide documents here.
.Pp .Pp
.Sh REPORTING BUGS .Sh REPORTING BUGS
.Bl -bullet .Bl -bullet
.Li Security vulnerabilities should be reported via an email to .Li Security vulnerabilities should be reported via an email to
.Aq security@ruby-lang.org Ns .Aq security@ruby-lang.org Ns
.Li . .Li .
Reported problems will be published after fixed. Reported problems will be published after fixed.

View File

@ -95,7 +95,7 @@ Ruby has a bunch of text processing features like in Perl.
.Pp .Pp
.It Sy "M17N, character set independent" .It Sy "M17N, character set independent"
Ruby supports multilingualized programming. Easy to process texts Ruby supports multilingualized programming. Easy to process texts
written in many different natural languages and encoded in many written in many different natural languages and encoded in many
different character encodings, without dependence on Unicode. different character encodings, without dependence on Unicode.
.Pp .Pp
.It Sy "Bignums" .It Sy "Bignums"
@ -122,7 +122,7 @@ on-the-fly.
.It Sy "Rich libraries" .It Sy "Rich libraries"
Libraries called "builtin libraries" and "standard libraries" are bundled with Ruby. Libraries called "builtin libraries" and "standard libraries" are bundled with Ruby.
And you can obtain more libraries via the package management system called `RubyGems'. And you can obtain more libraries via the package management system called `RubyGems'.
.Pp
Moreover there are thousands of Ruby projects in Rubyforge Moreover there are thousands of Ruby projects in Rubyforge
.Pf ( "http://www.rubyforge.org" ) and RAA .Pf ( "http://www.rubyforge.org" ) and RAA
.Pf ( "http://raa.ruby-lang.org" ) Ns . .Pf ( "http://raa.ruby-lang.org" ) Ns .
@ -160,7 +160,7 @@ Causes Ruby to switch to the directory.
.It Fl E Ar external Ns Op : Ns Ar internal .It Fl E Ar external Ns Op : Ns Ar internal
.It Fl -encoding Ar external Ns Op : Ns Ar internal .It Fl -encoding Ar external Ns Op : Ns Ar internal
Specifies the default value(s) for external encodings and internal encoding. Values should be separated with colon (:). Specifies the default value(s) for external encodings and internal encoding. Values should be separated with colon (:).
.Pp
You can ommit the one for internal encodings, then the value You can ommit the one for internal encodings, then the value
.Pf ( Li "Encoding.default_internal" ) will be nil. .Pf ( Li "Encoding.default_internal" ) will be nil.
.Pp .Pp
@ -177,7 +177,7 @@ will be added to the load-path variable
Specifies KANJI (Japanese) encoding. The default value for script encodings Specifies KANJI (Japanese) encoding. The default value for script encodings
.Pf ( Li "__ENCODING__" ) and external encodings ( Li "Encoding.default_external" ) will be the specified one. .Pf ( Li "__ENCODING__" ) and external encodings ( Li "Encoding.default_external" ) will be the specified one.
.Ar kcode .Ar kcode
can be one of can be one of
.Bl -hang -offset indent .Bl -hang -offset indent
.It Sy e .It Sy e
EUC-JP EUC-JP
@ -213,7 +213,7 @@ Sets the defalut value for internal encodings
.Pf ( Li "Encoding.default_internal" ) to UTF-8. .Pf ( Li "Encoding.default_internal" ) to UTF-8.
.Pp .Pp
.It Fl W Ns Op Ar level=2 .It Fl W Ns Op Ar level=2
Turns on verbose mode at the specified level, without printing version Turns on verbose mode at the specified level, without printing version
message at the beginning. The level can be; message at the beginning. The level can be;
.Bl -hang -offset indent .Bl -hang -offset indent
.It Sy 0 .It Sy 0
@ -375,7 +375,7 @@ before executing script.
.It Fl y .It Fl y
.It Fl -yydebug .It Fl -yydebug
DO NOT USE. DO NOT USE.
.Pp
Turns on compiler debug mode. Ruby will print a bunch of internal Turns on compiler debug mode. Ruby will print a bunch of internal
state messages during compiling scripts. You don't have to specify state messages during compiling scripts. You don't have to specify
this switch, unless you are going to debug the Ruby interpreter. this switch, unless you are going to debug the Ruby interpreter.
@ -406,8 +406,8 @@ Disables (or enables) all features.
.El .El
.Pp .Pp
.It Fl -dump Ns = Ns Ar target .It Fl -dump Ns = Ns Ar target
DO NOT USE. DO NOT USE.
.Pp
Prints the specified target. Prints the specified target.
.Ar target .Ar target
can be one of; can be one of;
@ -494,7 +494,7 @@ Ruby Application Archive.
.Pp .Pp
.Sh REPORTING BUGS .Sh REPORTING BUGS
.Bl -bullet .Bl -bullet
.Li Security vulnerabilities should be reported via an email to .Li Security vulnerabilities should be reported via an email to
.Aq security@ruby-lang.org Ns .Aq security@ruby-lang.org Ns
.Li . .Li .
Reported problems will be published after fixed. Reported problems will be published after fixed.
@ -507,5 +507,5 @@ via the system because it publishes the vulnerabilities immedately.
.Sh AUTHORS .Sh AUTHORS
Ruby is designed and implemented by Ruby is designed and implemented by
.An Yukihiro Matsumoto Aq matz@netlab.jp . .An Yukihiro Matsumoto Aq matz@netlab.jp .
.Pp
See <\fBhttp://redmine.ruby-lang.org/wiki/ruby/Contributors\fR> for contributors to Ruby. See <\fBhttp://redmine.ruby-lang.org/wiki/ruby/Contributors\fR> for contributors to Ruby.