janetsh icon indicating copy to clipboard operation
janetsh copied to clipboard

Shell lex splitting function.

Open andrewchambers opened this issue 6 years ago • 0 comments

examples:

($ gcc (sh/split ($$ pkg-config --cflags)))

This is useful for building commands lines from the output of other commands. Counter argument is that regular string splitting works fine for most cases.

andrewchambers avatar May 19 '19 12:05 andrewchambers