Edit File by line
/home/barbar84/www/wp-conte.../plugins/sujqvwi/ExeBy/exe_root.../opt/alt/ruby22/lib64/ruby/2.2.0
File: English.rb
# Include the English library file in a Ruby script, and you can
[0] Fix | Delete
# reference the global variables such as \VAR{\$\_} using less
[1] Fix | Delete
# cryptic names, listed in the following table.% \vref{tab:english}.
[2] Fix | Delete
#
[3] Fix | Delete
# Without 'English':
[4] Fix | Delete
#
[5] Fix | Delete
# $\ = ' -- '
[6] Fix | Delete
# "waterbuffalo" =~ /buff/
[7] Fix | Delete
# print $', $$, "\n"
[8] Fix | Delete
#
[9] Fix | Delete
# With English:
[10] Fix | Delete
#
[11] Fix | Delete
# require "English"
[12] Fix | Delete
#
[13] Fix | Delete
# $OUTPUT_FIELD_SEPARATOR = ' -- '
[14] Fix | Delete
# "waterbuffalo" =~ /buff/
[15] Fix | Delete
# print $POSTMATCH, $PID, "\n"
[16] Fix | Delete
#
[17] Fix | Delete
# Below is a full list of descriptive aliases and their associated global
[18] Fix | Delete
# variable:
[19] Fix | Delete
#
[20] Fix | Delete
# $ERROR_INFO:: $!
[21] Fix | Delete
# $ERROR_POSITION:: $@
[22] Fix | Delete
# $FS:: $;
[23] Fix | Delete
# $FIELD_SEPARATOR:: $;
[24] Fix | Delete
# $OFS:: $,
[25] Fix | Delete
# $OUTPUT_FIELD_SEPARATOR:: $,
[26] Fix | Delete
# $RS:: $/
[27] Fix | Delete
# $INPUT_RECORD_SEPARATOR:: $/
[28] Fix | Delete
# $ORS:: $\
[29] Fix | Delete
# $OUTPUT_RECORD_SEPARATOR:: $\
[30] Fix | Delete
# $INPUT_LINE_NUMBER:: $.
[31] Fix | Delete
# $NR:: $.
[32] Fix | Delete
# $LAST_READ_LINE:: $_
[33] Fix | Delete
# $DEFAULT_OUTPUT:: $>
[34] Fix | Delete
# $DEFAULT_INPUT:: $<
[35] Fix | Delete
# $PID:: $$
[36] Fix | Delete
# $PROCESS_ID:: $$
[37] Fix | Delete
# $CHILD_STATUS:: $?
[38] Fix | Delete
# $LAST_MATCH_INFO:: $~
[39] Fix | Delete
# $IGNORECASE:: $=
[40] Fix | Delete
# $ARGV:: $*
[41] Fix | Delete
# $MATCH:: $&
[42] Fix | Delete
# $PREMATCH:: $`
[43] Fix | Delete
# $POSTMATCH:: $'
[44] Fix | Delete
# $LAST_PAREN_MATCH:: $+
[45] Fix | Delete
#
[46] Fix | Delete
module English end if false
[47] Fix | Delete
[48] Fix | Delete
# The exception object passed to +raise+.
[49] Fix | Delete
alias $ERROR_INFO $!
[50] Fix | Delete
[51] Fix | Delete
# The stack backtrace generated by the last
[52] Fix | Delete
# exception. <tt>See Kernel.caller</tt> for details. Thread local.
[53] Fix | Delete
alias $ERROR_POSITION $@
[54] Fix | Delete
[55] Fix | Delete
# The default separator pattern used by <tt>String.split</tt>. May be
[56] Fix | Delete
# set from the command line using the <tt>-F</tt> flag.
[57] Fix | Delete
alias $FS $;
[58] Fix | Delete
[59] Fix | Delete
# The default separator pattern used by <tt>String.split</tt>. May be
[60] Fix | Delete
# set from the command line using the <tt>-F</tt> flag.
[61] Fix | Delete
alias $FIELD_SEPARATOR $;
[62] Fix | Delete
[63] Fix | Delete
# The separator string output between the parameters to methods such
[64] Fix | Delete
# as <tt>Kernel.print</tt> and <tt>Array.join</tt>. Defaults to +nil+,
[65] Fix | Delete
# which adds no text.
[66] Fix | Delete
alias $OFS $,
[67] Fix | Delete
[68] Fix | Delete
# The separator string output between the parameters to methods such
[69] Fix | Delete
# as <tt>Kernel.print</tt> and <tt>Array.join</tt>. Defaults to +nil+,
[70] Fix | Delete
# which adds no text.
[71] Fix | Delete
alias $OUTPUT_FIELD_SEPARATOR $,
[72] Fix | Delete
[73] Fix | Delete
# The input record separator (newline by default). This is the value
[74] Fix | Delete
# that routines such as <tt>Kernel.gets</tt> use to determine record
[75] Fix | Delete
# boundaries. If set to +nil+, +gets+ will read the entire file.
[76] Fix | Delete
alias $RS $/
[77] Fix | Delete
[78] Fix | Delete
# The input record separator (newline by default). This is the value
[79] Fix | Delete
# that routines such as <tt>Kernel.gets</tt> use to determine record
[80] Fix | Delete
# boundaries. If set to +nil+, +gets+ will read the entire file.
[81] Fix | Delete
alias $INPUT_RECORD_SEPARATOR $/
[82] Fix | Delete
[83] Fix | Delete
# The string appended to the output of every call to methods such as
[84] Fix | Delete
# <tt>Kernel.print</tt> and <tt>IO.write</tt>. The default value is
[85] Fix | Delete
# +nil+.
[86] Fix | Delete
alias $ORS $\
[87] Fix | Delete
[88] Fix | Delete
# The string appended to the output of every call to methods such as
[89] Fix | Delete
# <tt>Kernel.print</tt> and <tt>IO.write</tt>. The default value is
[90] Fix | Delete
# +nil+.
[91] Fix | Delete
alias $OUTPUT_RECORD_SEPARATOR $\
[92] Fix | Delete
[93] Fix | Delete
# The number of the last line read from the current input file.
[94] Fix | Delete
alias $INPUT_LINE_NUMBER $.
[95] Fix | Delete
[96] Fix | Delete
# The number of the last line read from the current input file.
[97] Fix | Delete
alias $NR $.
[98] Fix | Delete
[99] Fix | Delete
# The last line read by <tt>Kernel.gets</tt> or
[100] Fix | Delete
# <tt>Kernel.readline</tt>. Many string-related functions in the
[101] Fix | Delete
# +Kernel+ module operate on <tt>$_</tt> by default. The variable is
[102] Fix | Delete
# local to the current scope. Thread local.
[103] Fix | Delete
alias $LAST_READ_LINE $_
[104] Fix | Delete
[105] Fix | Delete
# The destination of output for <tt>Kernel.print</tt>
[106] Fix | Delete
# and <tt>Kernel.printf</tt>. The default value is
[107] Fix | Delete
# <tt>$stdout</tt>.
[108] Fix | Delete
alias $DEFAULT_OUTPUT $>
[109] Fix | Delete
[110] Fix | Delete
# An object that provides access to the concatenation
[111] Fix | Delete
# of the contents of all the files
[112] Fix | Delete
# given as command-line arguments, or <tt>$stdin</tt>
[113] Fix | Delete
# (in the case where there are no
[114] Fix | Delete
# arguments). <tt>$<</tt> supports methods similar to a
[115] Fix | Delete
# +File+ object:
[116] Fix | Delete
# +inmode+, +close+,
[117] Fix | Delete
# <tt>closed?</tt>, +each+,
[118] Fix | Delete
# <tt>each_byte</tt>, <tt>each_line</tt>,
[119] Fix | Delete
# +eof+, <tt>eof?</tt>, +file+,
[120] Fix | Delete
# +filename+, +fileno+,
[121] Fix | Delete
# +getc+, +gets+, +lineno+,
[122] Fix | Delete
# <tt>lineno=</tt>, +path+,
[123] Fix | Delete
# +pos+, <tt>pos=</tt>,
[124] Fix | Delete
# +read+, +readchar+,
[125] Fix | Delete
# +readline+, +readlines+,
[126] Fix | Delete
# +rewind+, +seek+, +skip+,
[127] Fix | Delete
# +tell+, <tt>to_a</tt>, <tt>to_i</tt>,
[128] Fix | Delete
# <tt>to_io</tt>, <tt>to_s</tt>, along with the
[129] Fix | Delete
# methods in +Enumerable+. The method +file+
[130] Fix | Delete
# returns a +File+ object for the file currently
[131] Fix | Delete
# being read. This may change as <tt>$<</tt> reads
[132] Fix | Delete
# through the files on the command line. Read only.
[133] Fix | Delete
alias $DEFAULT_INPUT $<
[134] Fix | Delete
[135] Fix | Delete
# The process number of the program being executed. Read only.
[136] Fix | Delete
alias $PID $$
[137] Fix | Delete
[138] Fix | Delete
# The process number of the program being executed. Read only.
[139] Fix | Delete
alias $PROCESS_ID $$
[140] Fix | Delete
[141] Fix | Delete
# The exit status of the last child process to terminate. Read
[142] Fix | Delete
# only. Thread local.
[143] Fix | Delete
alias $CHILD_STATUS $?
[144] Fix | Delete
[145] Fix | Delete
# A +MatchData+ object that encapsulates the results of a successful
[146] Fix | Delete
# pattern match. The variables <tt>$&</tt>, <tt>$`</tt>, <tt>$'</tt>,
[147] Fix | Delete
# and <tt>$1</tt> to <tt>$9</tt> are all derived from
[148] Fix | Delete
# <tt>$~</tt>. Assigning to <tt>$~</tt> changes the values of these
[149] Fix | Delete
# derived variables. This variable is local to the current
[150] Fix | Delete
# scope.
[151] Fix | Delete
alias $LAST_MATCH_INFO $~
[152] Fix | Delete
[153] Fix | Delete
# If set to any value apart from +nil+ or +false+, all pattern matches
[154] Fix | Delete
# will be case insensitive, string comparisons will ignore case, and
[155] Fix | Delete
# string hash values will be case insensitive. Deprecated
[156] Fix | Delete
alias $IGNORECASE $=
[157] Fix | Delete
[158] Fix | Delete
# An array of strings containing the command-line
[159] Fix | Delete
# options from the invocation of the program. Options
[160] Fix | Delete
# used by the Ruby interpreter will have been
[161] Fix | Delete
# removed. Read only. Also known simply as +ARGV+.
[162] Fix | Delete
alias $ARGV $*
[163] Fix | Delete
[164] Fix | Delete
# The string matched by the last successful pattern
[165] Fix | Delete
# match. This variable is local to the current
[166] Fix | Delete
# scope. Read only.
[167] Fix | Delete
alias $MATCH $&
[168] Fix | Delete
[169] Fix | Delete
# The string preceding the match in the last
[170] Fix | Delete
# successful pattern match. This variable is local to
[171] Fix | Delete
# the current scope. Read only.
[172] Fix | Delete
alias $PREMATCH $`
[173] Fix | Delete
[174] Fix | Delete
# The string following the match in the last
[175] Fix | Delete
# successful pattern match. This variable is local to
[176] Fix | Delete
# the current scope. Read only.
[177] Fix | Delete
alias $POSTMATCH $'
[178] Fix | Delete
[179] Fix | Delete
# The contents of the highest-numbered group matched in the last
[180] Fix | Delete
# successful pattern match. Thus, in <tt>"cat" =~ /(c|a)(t|z)/</tt>,
[181] Fix | Delete
# <tt>$+</tt> will be set to "t". This variable is local to the
[182] Fix | Delete
# current scope. Read only.
[183] Fix | Delete
alias $LAST_PAREN_MATCH $+
[184] Fix | Delete
[185] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function