[前][次][番号順一覧][スレッド一覧]

ruby-changes:25600

From: zzak <ko1@a...>
Date: Thu, 15 Nov 2012 11:37:17 +0900 (JST)
Subject: [ruby-changes:25600] zzak:r37657 (trunk): * man/ruby.1: Grammar edits for man page

zzak	2012-11-15 11:37:05 +0900 (Thu, 15 Nov 2012)

  New Revision: 37657

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=37657

  Log:
    * man/ruby.1: Grammar edits for man page
      Based on a patch by Michael Endsley [Fixes Github #183]

  Modified files:
    trunk/ChangeLog
    trunk/man/ruby.1

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 37656)
+++ ChangeLog	(revision 37657)
@@ -1,3 +1,8 @@
+Thu Nov 15 11:35:00 2012  Zachary Scott  <zachary@z...>
+
+	* man/ruby.1: Grammar edits for man page
+	  Based on a patch by Michael Endsley [Fixes Github #183]
+
 Thu Nov 15 00:47:20 2012  Yusuke Endoh  <mame@t...>
 
 	* array.c (rb_ary_bsearch): add Array#bsearch for binary search.
Index: man/ruby.1
===================================================================
--- man/ruby.1	(revision 37656)
+++ man/ruby.1	(revision 37657)
@@ -195,7 +195,7 @@
 .It Fl S
 Makes Ruby use the
 .Ev PATH
-environment variable to search for script, unless if its name begins
+environment variable to search for script, unless its name begins
 with a slash.  This is used to emulate
 .Li #!
 on machines that don't support it, in the following manner:
@@ -213,7 +213,7 @@
 .Pf ( Li "Encoding.default_internal" ) to UTF-8.
 .Pp
 .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 the version
 message at the beginning. The level can be;
 .Bl -hang -offset indent
 .It Sy 0
@@ -334,8 +334,8 @@
 .Li "$0"
 does not always contain the full pathname, so you need the
 .Fl S
-switch to tell Ruby to search for the script if necessary.  To handle
-embedded spaces or such.  A better construct than
+switch to tell Ruby to search for the script if necessary (to handle embedded
+spaces and such).  A better construct than
 .Li "$*"
 would be
 .Li ${1+"$@"} ,
@@ -343,7 +343,7 @@
 .Xr csh 1 .
 .Pp
 .It Fl v
-Enables verbose mode.  Ruby will print its version at the beginning,
+Enables verbose mode.  Ruby will print its version at the beginning
 and set the variable
 .Li "$VERBOSE"
 to true.  Some methods print extra messages if this variable is true.
@@ -358,11 +358,11 @@
 .Pp
 .It Fl x Ns Op Ar directory
 Tells Ruby that the script is embedded in a message.  Leading garbage
-will be discarded until the first that starts with
+will be discarded until the first line that starts with
 .Dq #!
 and contains the string,
 .Dq ruby .
-Any meaningful switches on that line will applied.  The end of script
+Any meaningful switches on that line will be applied.  The end of the script
 must be specified with either
 .Li EOF ,
 .Li "^D" ( Li "control-D" ) ,
@@ -377,8 +377,8 @@
 DO NOT USE.
 .Pp
 Turns on compiler debug mode.  Ruby will print a bunch of internal
-state messages during compiling scripts.  You don't have to specify
-this switch, unless you are going to debug the Ruby interpreter.
+state messages during compilation.  Only specify this switch you are going to
+debug the Ruby interpreter.
 .Pp
 .It Fl -disable- Ns Ar FEATURE
 .It Fl -enable- Ns Ar FEATURE
@@ -417,7 +417,7 @@
 .Pp
 .El
 .Pp
-You don't have to specify this switch, unless you are going to debug the Ruby interpreter.
+Only specify this switch if you are going to debug the Ruby interpreter.
 .Pp
 .It Fl -verbose
 Enables verbose mode without printing version message at the

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]