HEX
Server: Apache
System: Linux vps-cdc32557.vps.ovh.ca 5.15.0-156-generic #166-Ubuntu SMP Sat Aug 9 00:02:46 UTC 2025 x86_64
User: hanode (1017)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //usr/share/ri/3.0.0/system/Shellwords/shellescape-i.ri
U:RDoc::AnyMethod[iI"shellescape:ETI"Shellwords#shellescape;TF:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I"FEscapes a string so that it can be safely used in a Bourne shell ;TI"Fcommand line.  +str+ can be a non-string object that responds to ;TI"+to_s+.;To:RDoc::Markup::BlankLineo;
;	[I"DNote that a resulted string should be used unquoted and is not ;TI"<intended for use in double quotes nor in single quotes.;T@o:RDoc::Markup::Verbatim;	[I"Eargv = Shellwords.escape("It's better to give than to receive")
;TI"Bargv #=> "It\\'s\\ better\\ to\\ give\\ than\\ to\\ receive"
;T:@format0o;
;	[I"9String#shellescape is a shorthand for this function.;T@o;;	[I">argv = "It's better to give than to receive".shellescape
;TI"Bargv #=> "It\\'s\\ better\\ to\\ give\\ than\\ to\\ receive"
;TI"
;TI"2# Search files in lib for method definitions
;TI"pattern = "^[ \t]*def "
;TI"@open("| grep -Ern -e #{pattern.shellescape} lib") { |grep|
;TI"  grep.each_line { |line|
;TI"9    file, lineno, matched_line = line.split(':', 3)
;TI"    # ...
;TI"	  }
;TI"}
;T;
0o;
;	[I"IIt is the caller's responsibility to encode the string in the right ;TI"Bencoding for the shell environment where this string is used.;T@o;
;	[I"LMultibyte characters are treated as multibyte characters, not as bytes.;T@o;
;	[I"BReturns an empty quoted String if +str+ has a length of zero.;T:
@fileI"lib/shellwords.rb;T:0@omit_headings_from_table_of_contents_below000[[I"escape;To;;	[;@3;0I"
(str);T@3FI"Shellwords;TcRDoc::NormalModule00