Lines Matching +full:- +full:- +full:shell
1 <!-- Generated with Stardoc: http://skydoc.bazel.build -->
3 Skylib module containing shell utility functions.
5 <a id="shell.array_literal"></a>
7 ## shell.array_literal
10 shell.array_literal(<a href="#shell.array_literal-iterable">iterable</a>)
13 Creates a string from a sequence that can be used as a shell array.
15 For example, `shell.array_literal(["a", "b", "c"])` would return the string
16 `("a" "b" "c")`, which can be used in a shell script wherever an array
19 Note that all elements in the array are quoted (using `shell.quote`) for
27 | :------------- | :------------- | :------------- |
28 | <a id="shell.array_literal-iterable"></a>iterable | A sequence of elements. Elements that are no…
32 A string that represents the sequence as a shell array; that is,
36 <a id="shell.quote"></a>
38 ## shell.quote
41 shell.quote(<a href="#shell.quote-s">s</a>)
44 Quotes the given string for use in a shell command.
47 shell metacharacters.)
54 | :------------- | :------------- | :------------- |
55 | <a id="shell.quote-s"></a>s | The string to quote. | none |
59 A quoted version of the string that can be passed to a shell command.