8000 * man/ruby.1: Grammar edits for man page · tenderlove/ruby@4fe5878 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4fe5878

Browse files
author
zzak
committed
* man/ruby.1: Grammar edits for man page
Based on a patch by Michael Endsley [Fixes Github ruby#183] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent 728c7d8 commit 4fe5878

File tree

2 files changed

+15
-10
lines changed

2 files changed

+15
-10
lines changed

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
Thu Nov 15 11:35:00 2012 Zachary Scott <zachary@zacharyscott.net>
2+
3+
* man/ruby.1: Grammar edits for man page
4+
Based on a patch by Michael Endsley [Fixes Github #183]
5+
16
Thu Nov 15 00:47:20 2012 Yusuke Endoh <mame@tsg.ne.jp>
27

38
* array.c (rb_ary_bsearch): add Array#bsearch for binary search.

man/ruby.1

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ ASCII-8BIT (BINARY)
195195
.It Fl S
196196
Makes Ruby use the
197197
.Ev PATH
198-
environment variable to search for script, unless if its name begins
198+
environment variable to search for script, unless its name begins
199199
with a slash. This is used to emulate
200200
.Li #!
201201
on machines that don't support it, in the following manner:
@@ -213,7 +213,7 @@ Sets the default value for internal encodings
213213
.Pf ( Li "Encoding.default_internal" ) to UTF-8.
214214
.Pp
215215
.It Fl W Ns Op Ar level=2
216-
Turns on verbose mode at the specified level, without printing version
216+
Turns on verbose mode at the specified level without printing the version
217217
message at the beginning. The level can be;
218218
.Bl -hang -offset indent
219219
.It Sy 0
@@ -334,16 +334,16 @@ On some systems
334334
.Li "$0"
335335
does not always contain the full pathname, so you need the
336336
.Fl S
337-
switch to tell Ruby to search for the script if necessary. To handle
338-
embedded spaces or such. A better construct than
337+
switch to tell Ruby to search for the script if necessary (to handle embedded
338+
spaces and such). A better construct than
339339
.Li "$*"
340340
would be
341341
.Li ${1+"$@"} ,
342342
but it does not work if the script is being interpreted by
343343
.Xr csh 1 .
344344
.Pp
345345
.It Fl v
346-
Enables verbose mode. Ruby will print its version at the beginning,
346+
Enables verbose mode. Ruby will print its version at the beginning
347347
and set the variable
348348
.Li "$VERBOSE"
349349
to true. Some methods print extra messages if this variable is true.
@@ -358,11 +358,11 @@ variable to true.
358358
.Pp
359359
.It Fl x Ns Op Ar directory
360360
Tells Ruby that the script is embedded in a message. Leading garbage
361-
will be discarded until the first that starts with
361+
will be discarded until the first line that starts with
362362
.Dq #!
363363
and contains the string,
364364
.Dq ruby .
365-
Any meaningful switches on that line will applied. The end of script
365+
Any meaningful switches on that line will be applied. The end of the script
366366
must be specified with either
367367
.Li EOF ,
368368
.Li "^D" ( Li "control-D" ) ,
@@ -377,8 +377,8 @@ before executing script.
377377
DO NOT USE.
378378
.Pp
379379
Turns on compiler debug mode. Ruby will print a bunch of internal
380-
state messages during compiling scripts. You don't have to specify
381-
this switch, unless you are going to debug the Ruby interpreter.
380+
state messages during compilation. Only specify this switch you are going to
381+
debug the Ruby interpreter.
382382
.Pp
383383
.It Fl -disable- Ns Ar FEATURE
384384
.It Fl -enable- Ns Ar FEATURE
@@ -417,7 +417,7 @@ disassembled instructions
417417
.Pp
418418
.El
419419
.Pp
420-
You don't have to specify this switch, unless you are going to debug the Ruby interpreter.
420+
Only specify this switch if you are going to debug the Ruby interpreter.
421421
.Pp
422422
.It Fl -verbose
423423
Enables verbose mode without printing version message at the

0 commit comments

Comments
 (0)
0