PHP 8.2.31
Preview: shelljoin-i.yaml Size: 726 B
/proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/Shellwords/shelljoin-i.yaml

--- !ruby/object:RI::MethodDescription 
aliases: 
- !ruby/object:RI::AliasName 
  name: join
block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Builds a command line string from an argument list <tt>array</tt> joining all elements escaped for Bourne shell and separated by a space.
- !ruby/struct:SM::Flow::VERB 
  body: "  open('|' + Shellwords.join(['grep', pattern, *files])) { |pipe|\n    # ...\n  }\n"
- !ruby/struct:SM::Flow::P 
  body: +Array#shelljoin+ is a shorthand for this function.
- !ruby/struct:SM::Flow::VERB 
  body: "  open('|' + ['grep', pattern, *files].shelljoin) { |pipe|\n    # ...\n  }\n"
full_name: Shellwords#shelljoin
is_singleton: false
name: shelljoin
params: (array)
visibility: public

Directory Contents

Dirs: 0 × Files: 8

Name Size Perms Modified Actions
1.12 KB lrw-r--r-- 2023-07-26 13:47:57
Edit Download
234 B lrw-r--r-- 2023-07-26 13:47:57
Edit Download
230 B lrw-r--r-- 2023-07-26 13:47:57
Edit Download
839 B lrw-r--r-- 2023-07-26 13:47:57
Edit Download
726 B lrw-r--r-- 2023-07-26 13:47:57
Edit Download
829 B lrw-r--r-- 2023-07-26 13:47:57
Edit Download
242 B lrw-r--r-- 2023-07-26 13:47:57
Edit Download
232 B lrw-r--r-- 2023-07-26 13:47:57
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).