summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-15 02:37:05 +0000
committerzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-15 02:37:05 +0000
commit81d71fee9ba3be04209c2f157b16f06ec5054028 (patch)
tree07da3c8dc796b811408cc515b695f904cc180e8f /man
parent5c30ce373f071750a0346091595caae840e64994 (diff)
downloadruby-81d71fee9ba3be04209c2f157b16f06ec5054028.tar.gz
* man/ruby.1: Grammar edits for man page
Based on a patch by Michael Endsley [Fixes Github #183] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'man')
-rw-r--r--man/ruby.120
1 files changed, 10 insertions, 10 deletions
diff --git a/man/ruby.1 b/man/ruby.1
index cff48cd760..39bc920a70 100644
--- a/man/ruby.1
+++ b/man/ruby.1
@@ -195,7 +195,7 @@ ASCII-8BIT (BINARY)
.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 @@ Sets the default value for internal encodings
.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 @@ On some systems
.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 @@ but it does not work if the script is being interpreted by
.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 @@ variable to true.
.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 @@ before executing script.
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 @@ disassembled instructions
.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