janet-lang / spork

Various Janet utility modules - the official "Contrib" library.
MIT License
122 stars 35 forks source link

Added shell like string splitting to spork/sh #122

Closed tionis closed 1 year ago

tionis commented 1 year ago

I imported the code from andrewchamber's janet-shlex (with permission). It allows splitting a string following shell quoting rules.

bakpakin commented 1 year ago

For a number of reasons, I would strongly discourage using the name quote for that operation as that is a special form.

tionis commented 1 year ago

Fair point, I changed it to escape