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