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

ruby-changes:47392

From: eregon <ko1@a...>
Date: Sat, 5 Aug 2017 02:05:50 +0900 (JST)
Subject: [ruby-changes:47392] eregon:r59508 (trunk): * man/ruby.1: Move paragraph which is related to -S, not -s.

eregon	2017-08-05 02:05:43 +0900 (Sat, 05 Aug 2017)

  New Revision: 59508

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=59508

  Log:
    * man/ruby.1: Move paragraph which is related to -S, not -s.

  Modified files:
    trunk/man/ruby.1
Index: man/ruby.1
===================================================================
--- man/ruby.1	(revision 59507)
+++ man/ruby.1	(revision 59508)
@@ -217,6 +217,18 @@ on machines that don't support it, in th https://github.com/ruby/ruby/blob/trunk/man/ruby.1#L217
   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 th https://github.com/ruby/ruby/blob/trunk/man/ruby.1#L354
 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

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

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