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