e$BLZB<$G$9!#e(B
ruby 1.9.0 (2007-12-25 revision 14709) [i386-mswin32_71] e$B$Ge(B
e$B%*%W%7%g%sI=<($,8=>u$rH?1G$7$F$$$^$;$s!#e(B
C:\home>ruby -vh
ruby 1.9.0 (2007-12-25 revision 14709) [i386-mswin32_71]
Usage: ruby [switches] [–] [programfile] [arguments]
-0[octal] specify record separator (\0, if no argument)
-a autosplit mode with -n or -p (splits $_ into $F)
-c check syntax only
-Cdirectory cd to directory, before executing your script
-d set debugging flags (set $DEBUG to true)
-e ‘command’ one line of script. Several -e’s allowed. Omit
[programfile]
-Fpattern split() pattern for autosplit (-a)
-i[extension] edit ARGV files in place (make backup if extension
supplied)
-Idirectory specify $LOAD_PATH directory (may be used more than
once)
-Kkcode specifies KANJI (Japanese) code-set
-l enable line ending processing
-n assume ‘while gets(); … end’ loop around your script
-p assume loop like -n but print line also like sed
-rlibrary require the library, before executing your script
-s enable some switch parsing for switches after script
name
-S look for the script using PATH environment variable
-T[level] turn on tainting checks
-v print version number, then turn on verbose mode
-w turn warnings on for your script
-W[level] set warning level; 0=silence, 1=medium, 2=verbose
(default)
-x[directory] strip off text before #!ruby line and perhaps cd to
directory
–disable-gems disable gem libraries
–copyright print the copyright
–version print the version
-Eencoding e$B$,I=<($5$l$F$$$J$$$N$H!"e(B-K e$B$K4X$7$F$Oe(B
obsoletee$B$J;]7Y9p$7$F$be(B
e$BNI$$$+$H;W$$$^$9!#e(B