Handbook
Glossary
shlex-join ( tokens -- string )
Shell-like lexical analysis
Prev:
shlex-quote ( string -- quoted )
Vocabulary
shlex
Inputs
tokens
a
sequence
Outputs
string
a
string
Word description
Quotes each string with shlex-quote and joins them with spaces. Parsing the result with parse-shlex recovers the original arguments.
Definition
USING:
sequences
;
IN:
shlex
:
shlex-join
( tokens -- string )
[
shlex-quote
]
map
" "
join
;