summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authoreregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-08-04 17:05:43 (GMT)
committereregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-08-04 17:05:43 (GMT)
commit60c253e28ff652c86504ab9901930d49ab74b510 (patch)
tree40c8bc9138e1e319c0769d95a59d849f46640129 /man
parent41e1670a64405133e3d25b73e5cab9456ccb364e (diff)
* man/ruby.1: Move paragraph which is related to -S, not -s.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'man')
-rw-r--r--man/ruby.124
1 files changed, 12 insertions, 12 deletions
diff --git a/man/ruby.1 b/man/ruby.1
index f185132..88cef8d 100644
--- a/man/ruby.1
+++ b/man/ruby.1
@@ -217,6 +217,18 @@ on machines that don't support it, in the following manner:
exec /usr/local/bin/ruby -S $0 $*
.Ed
.Pp
+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 and such). A better construct than
+.Li "$*"
+would be
+.Li ${1+"$@"} ,
+but it does not work if the script is being interpreted by
+.Xr csh 1 .
+.Pp
.It Fl T Ns Op Ar level=1
Turns on taint checks at the specified level (default 1).
.Pp
@@ -342,18 +354,6 @@ and set the corresponding variable in the script. For example:
print "true\en" if $xyz
.Ed
.Pp
-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 and such). A better construct than
-.Li "$*"
-would be
-.Li ${1+"$@"} ,
-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
and set the variable